WorksHub / leona

spec -> lacinia schema
Eclipse Public License 1.0
36 stars 17 forks source link

Support input objects #13

Closed nathell closed 5 years ago

nathell commented 5 years ago

This PR adds input-objects to Leona-generated schemata.

Any object that is referred to by the input args (as generated by generate-root-objects) but is not the args object itself is considered an input object.

acron0 commented 5 years ago

I love this PR, thank you @nathell

devurandom commented 5 years ago

Could some documentation please be added? Some examples? What GraphQL schema will be generated from certain uses of Clojure spec? An example of how to translate a GraphQL schema into the matching Clojure spec?