[ { "title": "Kim Stanley Robinson", "body": "Author of the Mars trilogy and New York 2140.\r\n", "field_books": [ "2" ] }, { "title": "N. K. Jemisin", "body": "Hugo Award-winning author of the Broken Earth trilogy.\r\n", "field_books": [ "1" ] } ]
Drupal Implementation •https://www.drupal.org/project/graphql •https://github.com/drupal-graphql/graphql •Drupal has schema support for Nodes, Views, etc
Drupal Implementation •https://www.drupal.org/project/graphql •https://github.com/drupal-graphql/graphql •Drupal has schema support for Nodes, Views, etc •Plugin architecture
Queries •You can run this in the GraphQL Explorer •What about the browser? You can copy the query and pass it to the /graphql endpoint with the query parameter: /graphql/?query=query%20{nodeQuery%20{entities%20{entityId,entityLabel}}}
What did we learn? •Empty structures/values break Cinder •Making queries consistent is a challenge •Decoupling is both a technical thing as well as a philosophical thing