You have understood the basics behind separating the schema. Let's create your first module.
Start by creating a
modules/my-first-module directory under your project's root. Then, create a file
Here is a quick example:
That's it. You now have a ready-to-use
GraphQLModule. Our next step is to expose it using