moleculerjs / moleculerjs/database
Secure field not working true in populate and in foreignkey fields.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33
- Forks
- 15
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Hi ,
When I change the primary key field to secure , all related foreign key fields persisted encoded ID in database which I can't run a query over database . although when create , update or populate a field , if we used secure foreign key in our schema , incorrect functionality happened in mean time .
Also when we use secure ID in nested object there is no process and transform with nested data happened .
I guess there are a lot of missed scenario implementation for secure field happened.
Also I opened a new discussion that related to this issue that you can find it in #35
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the secure-field handling for create, update, populate, foreign-key fields, and nested objects, then compare the related discussion in #35. Done should include correct secure-ID transformation in these paths and database persistence that still permits the reported queries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100