This file contains hidden or 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
# QUERY AND MUTATION | |
query authors { | |
authors(first:5, offset:97) { | |
id, | |
firstName, | |
lastName | |
} | |
} | |
mutation createAuthor($inputPage:CreateAuthorInput!) { |
This file contains hidden or 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
# mutation section | |
# Write your query or mutation here | |
mutation publishPage($var:ID!) { | |
publishPage(pageId: $var) { | |
id | |
} | |
} | |
# Query variables section, where long string is a pageId from db | |
{ |
This file contains hidden or 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
[{"tytul":"Historia Pcimia Dolnego","autor":"Jan Nowak","cena":55},{"tytul":"Potrawy z trawy","autor":"Kazimierz Vege","cena":42},{"tytul":"Mi\u0119sny Je\u017c - przepisy keto","autor":"Rafa\u0142 Rze\u017anik","cena":74},{"tytul":"Nobody is perfect","autor":"Steven Nobody","cena":15}] |
OlderNewer