You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a pretty big change that should go through a series of RC to polish interface and ensure it covers the majority of use cases. So it should be planned for 15.0.0
Why?
You can write entire schema in GraphQL and then call
buildSchema
. But you cannot write only single type or partials and then combine them simply. Why?There is some effort:
graphql/utilities
-buildASTSchema
,extendSchema
,concatAST
but it is not clear how to use properlygraphql-utilities
graphql-tools
Example:
contentType.graphql
:Then with today tooling it should be possible to write:
Goal
Write modules containing types in GraphQL (
*.graphql
files), then compose this pieces in meaningful schema in your app.As you see, you can mix pure GraphQL with custom field resolvers — this is only goal of mine.
Now-a-day it is piece of cake to optimize all the things using require/babel/webpack plugins..
@leebyron Can you help me with this a little? What is the right way for modular GraphQL backends? :-)
The text was updated successfully, but these errors were encountered: