json-to-graphql.core

add-top-level

(add-top-level json n)
Wraps all `json` fields into object with name `n`

apply-non-null

(apply-non-null obj nn-map)
Returns object with applied non-null map.

graphql-schema

(graphql-schema schema)
Returns a valid GraphQL schema based on map that represents GraphQL schema.

json->graphql

(json->graphql json name ops)(json->graphql schema json name ops)
Returns Clojure map that represents GraphQL schema based on `json`.
If `schema` is supplied then it will be merged into resulting schema.