-
Notifications
You must be signed in to change notification settings - Fork 73
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
LHK-590 Added modern GraphQL Relay sample project with React #420
LHK-590 Added modern GraphQL Relay sample project with React #420
Conversation
@andriilula please, review too |
@okhorsunenko-lula, @andriilula do we need |
@okhorsunenko-lula let's format fields = [
Define.Field("hasNextPage", Boolean, "When paginating forwards, are there more items?", fun _ pageInfo -> pageInfo.HasNextPage)
Define.Field("hasPreviousPage", Boolean, "When paginating backwards, are there more items?", fun _ pageInfo -> pageInfo.HasPreviousPage)
Define.Field("startCursor", Nullable String, "When paginating backwards, the cursor to continue.", fun _ pageInfo -> pageInfo.StartCursor)
Define.Field("endCursor", Nullable String, "When paginating forwards, the cursor to continue.", fun _ pageInfo -> pageInfo.EndCursor)
]) or fields =
[ Define.Field("hasNextPage", Boolean, "When paginating forwards, are there more items?", fun _ pageInfo -> pageInfo.HasNextPage)
Define.Field("hasPreviousPage", Boolean, "When paginating backwards, are there more items?", fun _ pageInfo -> pageInfo.HasPreviousPage)
Define.Field("startCursor", Nullable String, "When paginating backwards, the cursor to continue.", fun _ pageInfo -> pageInfo.StartCursor)
Define.Field("endCursor", Nullable String, "When paginating forwards, the cursor to continue.", fun _ pageInfo -> pageInfo.EndCursor) ]) What Fantomas will do? |
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 good to me
@okhorsunenko-lula so will you replace the old Relay folder content with content from the modern Relay? |
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.
@okhorsunenko-lula, looks good!
Fixing a few comments and a workflow update left
68f05dc
to
b9e3efd
Compare
ea82c58
to
7d7e265
Compare
7d7e265
to
75022b9
Compare
@okhorsunenko-lula test Relay again. I made |
@okhorsunenko-lula we need to test the sample manually again. Then we can merge |
@xperiandri tested, looks good and works, attaching the screenshot |
7daca9f
to
ca221a8
Compare
…cts#420) Co-authored-by: Andrii Chebukin <[email protected]>
…cts#420) Co-authored-by: Andrii Chebukin <[email protected]>
Co-authored-by: Andrii Chebukin <[email protected]>
…cts#420) Co-authored-by: Andrii Chebukin <[email protected]>
No description provided.