-
Notifications
You must be signed in to change notification settings - Fork 273
Finish refactoring queries using new query builder makeQueries #654
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
Finish refactoring queries using new query builder makeQueries #654
Conversation
@thymikee @mdjastrzebski I modified a bit the error messages to unify them with the errors messages for byTestId which were modified on the previous PR, is it ok for you? |
c8c59b8
to
9198eb3
Compare
I did not tackle the UNSAFE and a11y queries (since they have their own builder already), is it alright? |
9198eb3
to
0895b3f
Compare
the renaming is done to avoid any confusion with makeQueries which should be the new way to add new queries
0895b3f
to
8628435
Compare
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.
This is great, thank you! 🚀
thanks for the approval @thymikee! Should I group the tests by query in a new PR now? Because for now it is done for only one query (byTestId) and not the others |
Sure, would be amazing to have the tests cleaned up as well :) |
Summary
This PR aims to solve this issue. It is the follow up of this PR
Tasks:
type (different for get, find, query).
Requirements
Test plan
No tests should be added since the API does not change, they only need to be moved to be grouped by predicate type