GraphQL – 1st Notes

To practice the first queries we will work in the GraphQLHub/PlayGround

Great Tutorial at: HowtoGraphQL.com

And here are some Code-Snipets:

Snipet 1: Basic query

 

Snipet 2: Aliases 

 

Snipet 3: Fragments

 

Snipet 4: Variables

 

Snipet : Directives

 GraphQL include two directives:

  1. @include( if: Boolean )
  2. @skip( if: Boolean )

Mutations

Add & Update Data

 

.



Copyright 2017. All rights reserved.

Posted October 22, 2017 by Edmundo in category "Database