-
Notifications
You must be signed in to change notification settings - Fork 987
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
fixes #24050 - graphql: add connections with totalCount #5733
fixes #24050 - graphql: add connections with totalCount #5733
Conversation
Issues: #24050 |
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.
I've got one suggestion and I think we can try to DRY connections definitions.
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.
I checked my suggestion from previous review about changes for connections, but I wasn't able to prepare workable solution.
I added one new comment and another proposition(which I checked locally) for drying up code of connections.
d9a02cc
to
af3822a
Compare
Rebased and applied @dariuszb-iRonin's suggestion. |
af3822a
to
8eb23c4
Compare
8eb23c4
to
a9ed394
Compare
Rebased. |
a9ed394
to
5ba58b0
Compare
5ba58b0
to
e15d4c4
Compare
Works well, but needs a rebase. |
e15d4c4
to
97a66a3
Compare
97a66a3
to
5c74087
Compare
Rebased. |
@xprazak2: Do you have a chance to take a look at this PR this morning? If we merge any other graphql PRs before this, we'll have to rebase again. |
5c74087
to
5cee910
Compare
Rebased. |
Aaaah, I did not manage to hit the button in time. I'll merge if you rebase, I promise 🙂 |
5cee910
to
104e812
Compare
@xprazak2: You'll get another chance. Rebased (well, actually @kamils-iRonin did it). |
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.
LocationJSTest failure unrelated, thanks for your patience!
This is part four of the graphql series.
This adds support for connections (associations) to the models. It adds a basic host type that just has name, id and model attributes.
Other parts:
Part 1 - JWT Auth: #5596
Part 2 - Graphql Scaffolding: #5680
Part 3 - Relay Global ID #5681
Part 4 - Connections with totalCount #5733
Part 5 - Basic mutations for model #5736