tendant / graphql-clj

A Clojure library that provides GraphQL implementation.
Eclipse Public License 1.0
285 stars 22 forks source link

Support for Input Objects and their fields in Introspection Schema #41

Closed bjonica closed 7 years ago

bjonica commented 7 years ago

With this change in place, schemas like the following work successfully with the type instrospection query. This fixes getting GraphiQL auto-completion popups for input objects and their fields:

schema {
  query: QueryRoot
}

input WorldInput {
  text: String
}

type QueryRoot {
  hello(world: WorldInput): String
}
tendant commented 7 years ago

Merged. Thanks for your contribution!