-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(drive)!: temporary restrictions for a document query #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to validate orderBy
too
packages/js-drive/lib/document/query/validateIndexedProperties.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks legit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Issue being fixed or feature implemented
Since GroveDB doesn’t support indexes intersection, we need to validate query to make sure that only one index is being used. Also, there are some additional constraints due to the current GroveDB design. Potentially, they will be removed in the future.
What was done?
elementMatch
,contains
andincludes
temporary disabledHow Has This Been Tested?
With unit and integration tests
Breaking Changes
elementMatch
,contains
andincludes
temporary disabledChecklist:
For repository code-owners and collaborators only