OKO-1007 Replace deprecated query with scalars
MR writing steps
-
I have set the MR title -
I have written the MR description -
I have ensured the MR pipeline has passed -
I added a reviewer to the MR so they can review my code -
I have treated the MR comments -
I have ensured the release notes have been updated according to the new changes -
I have ensured the MR pipeline passes after the new changes
Goal & Changes
What? Why?
Replace every occurence of query
with scalars
. According to the migration documentation from 1.x to 2.x.
How?
Rewriting every query and test that does not pass using.
How to test and reproduce
- Launch the API
- Test evey endpoints
- See they worked like before
- Run the tests, see they succeed