From 9db648e457afd24d983db43826fe53edfc787f6b Mon Sep 17 00:00:00 2001 From: Sergio del Amo Date: Thu, 14 Sep 2017 18:11:00 +0200 Subject: [PATCH 1/3] Add Groovy gorm-graphql library and Grails Plugin --- site/code/index.html.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/site/code/index.html.js b/site/code/index.html.js index bc4c07ba0b..8ce2892c02 100644 --- a/site/code/index.html.js +++ b/site/code/index.html.js @@ -122,8 +122,26 @@ Code that executes a hello world GraphQL query with \`graphql-clj\`: - [graphql-relay-go](https://github.com/graphql-go/relay): A Go/Golang library to help construct a graphql-go server supporting react-relay. - [neelance/graphql-go](https://github.com/neelance/graphql-go): An active implementation of GraphQL in Golang. +### Groovy + +#### [gorm-graphql](https://github.com/grails/gorm-graphql/) + +**Core Library** The GORM GraphQL library provides functionality to generate a GraphQL schema based on your GORM entities. In addition to mapping domain classes to a GraphQL schema, the core library also provides default implementations of "data fetchers" to query, update, and delete data through executions of the schema. + +**Grails Plugin** In a addition to the Core Library, the GORM GraphQL Grails Plugin: + +- Provides A controller to receive and respond to GraphQL requests through HTTP, based on their guidelines. +- Generates the schema at startup with spring bean configuration to make it easy to extend. +- Includes a [GraphiQL](https://github.com/graphql/graphiql) browser enabled by default in development. The browser is accessible at /graphql/browser. +- Overrides the default data binder to use the data binding provided by Grails +- Provides a [trait](https://grails.github.io/gorm-graphql/latest/api/org/grails/gorm/graphql/plugin/testing/GraphQLSpec.html) to make integration testing of your GraphQL endpoints easier + +See [the documentation](https://grails.github.io/gorm-graphql/latest/guide/index.html) for more information. + ### Java + + #### [graphql-java](https://github.com/graphql-java/graphql-java) A Java library for building GraphQL APIs. From 59b5b4868a73016a9bfd246bdde0c8c31cb31db9 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Fri, 15 Sep 2017 13:04:52 +1000 Subject: [PATCH 2/3] Revert unrelated whitespace changes --- site/code/index.html.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/site/code/index.html.js b/site/code/index.html.js index 8ce2892c02..4af39006c7 100644 --- a/site/code/index.html.js +++ b/site/code/index.html.js @@ -140,8 +140,6 @@ See [the documentation](https://grails.github.io/gorm-graphql/latest/guide/index ### Java - - #### [graphql-java](https://github.com/graphql-java/graphql-java) A Java library for building GraphQL APIs. From 72541fb45120631b1d1336937ea92cf6e59eadd1 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Fri, 15 Sep 2017 13:05:20 +1000 Subject: [PATCH 3/3] Add link to Groovy section --- site/code/index.html.js | 1 + 1 file changed, 1 insertion(+) diff --git a/site/code/index.html.js b/site/code/index.html.js index 4af39006c7..d467680056 100644 --- a/site/code/index.html.js +++ b/site/code/index.html.js @@ -30,6 +30,7 @@ In addition to the GraphQL [reference implementations in JavaScript](#javascript - [Elixir](#elixir) - [Erlang](#erlang) - [Go](#go) +- [Groovy](#groovy) - [Java](#java) - [JavaScript](#javascript) - [PHP](#php)