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? |
|
@okhorsunenko-lula so will you replace the old Relay folder content with content from the modern Relay? |
There was a problem hiding this comment.
@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 <andrii@lula.is>
…cts#420) Co-authored-by: Andrii Chebukin <andrii@lula.is>
Co-authored-by: Andrii Chebukin <andrii@lula.is>
…cts#420) Co-authored-by: Andrii Chebukin <andrii@lula.is>

No description provided.