This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
refactor(knex): refactor knex query builder and fixes an issue where or queries were not mapped correctly #2034
Merged
Conversation
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
craicoverflow
force-pushed
the
fix/2009
branch
5 times, most recently
from
September 11, 2020 16:00
7347104
to
b0d39b6
Compare
craicoverflow
force-pushed
the
fix/2009
branch
2 times, most recently
from
September 14, 2020 09:32
b7652fe
to
b9e36b9
Compare
craicoverflow
changed the title
[WIP] refactor(knex): refactor knex query builder and fixes an issue where or queries were not mapped correctly
refactor(knex): refactor knex query builder and fixes an issue where or queries were not mapped correctly
Sep 14, 2020
craicoverflow
force-pushed
the
fix/2009
branch
2 times, most recently
from
September 14, 2020 09:41
f3ce7de
to
c0d25d5
Compare
Verifying |
machi1990
reviewed
Sep 14, 2020
machi1990
reviewed
Sep 14, 2020
machi1990
reviewed
Sep 14, 2020
machi1990
reviewed
Sep 14, 2020
machi1990
reviewed
Sep 14, 2020
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.
Finished my first round of review and verification. I added a couple of comments as I was getting along the way.
I also think we should have a section in our documentation where we explain the semantics of the filters using pseudo code as the one used in this #2034 (comment)
machi1990
reviewed
Sep 14, 2020
machi1990
reviewed
Sep 14, 2020
packages/graphback-runtime-knex/tests/data/KnexDbDataProviderTest.ts
Outdated
Show resolved
Hide resolved
craicoverflow
force-pushed
the
fix/2009
branch
from
September 14, 2020 12:59
9cbb4f0
to
02b932a
Compare
machi1990
approved these changes
Sep 14, 2020
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.
All my comments have been addressed. Thanks Enda for a huge followup PR.
/cc @wtrocki you might want to have a look too.
craicoverflow
force-pushed
the
fix/2009
branch
from
September 14, 2020 13:14
aa22e9c
to
01f9912
Compare
craicoverflow
force-pushed
the
fix/2009
branch
from
September 14, 2020 13:30
01f9912
to
230a6df
Compare
craicoverflow
added
bug
Something isn't working
internal
breaking
and removed
internal
labels
Oct 6, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR completely rewrites the Knex query builder, which was only ever intended as a prototype version originally and was very hard to maintain.
Tasks
or
operator should be used #2009