Add foreignkey
and secure for foreignkey support to databse module.
#35
Unanswered
saeedtabrizi
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @rosko @icebob ,
As I see in the following line there is no support for
secure
foreignkey
orforeignkey
in database module .So when we store the
ObjectId
as string in mongodb , developers must use decode and encode methods to handle this logic , That is harmful .database/src/methods.js
Line 488 in e1ac4da
I recommend to support
foreignkey
in field definition and enablesecure
functionality over that .Beta Was this translation helpful? Give feedback.
All reactions