|-- schema.graphql |-- models/ |-- post.graphql |-- category.graphql add the below line inside the schema.graphql after that all the query and mutations inside models will be import automatically #import models/*.graphql