How to Split Schemas into Multiple Files and Import Them

Is there a way to split the Schema into multiple files and import/include them?

Welcome @dusty-phillips

If you are wondering about importing GraphQL schemas into Dgraph, the answer is not really. There are hacky ways around though.

You can split your schema files up into multiple files, then do something like rm schema.graphql && cat *.graphql > schema.graphql before sending it to Dgraph

1 Like