-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(db-mongodb): ensure relationships are stored in
ObjectID
(#8932)
### What? Since the join field, we do store relationship fields values in `ObjectID`. This wasn't true if the field is nested to an array / blocks. ### Why? All relationship fields values should be stored in `ObjectID`. ### How? Fixes arrays / blocks handling in the `traverseFields.ts` function. Before it didn't run for them.
- Loading branch information
Showing
2 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters