charlieschwabacher / gestalt

Use the GraphQL schema language and a small set of directives to define an API with a PostgreSQL backend declaratively, really quickly, and with a tiny amount of code.
MIT License
207 stars 15 forks source link

Extended syntax #3

Closed charlieschwabacher closed 8 years ago

charlieschwabacher commented 8 years ago

If merged, this will resolve https://github.com/charlieschwabacher/gestalt/issues/1 by translating infix cypher style arrow syntax into @relationship directives before schema.graphql is parsed by graphql-js.

I'm still undecided on whether the improved readability / succinctness of this infix arrow syntax is worth extending the GraphQL syntax.

charlieschwabacher commented 8 years ago

going to go continue with this syntax, but use a different implementation