graphql-compose / graphql-compose/graphql-compose-mongoose
Graphql-compose and graphql-compose-mongoose doesn't work with NextJs api routes
- Dominant language
- TypeScript
- Stars
- 706
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Graphql-compose and graphql-compose-mongoose doesn't work with NextJs api routes (serverless):
1. ComposeWithMongoose or ComposeMongoose Error: You try to generate GraphQL Type with name from mongoose model but this type already exists in SchemaComposer. Please choose another type name "composeWithMongoose(model, { name: 'NewTypeName' })", or reuse existed type "schemaComposer.getOTC('TypeName')", or remove type from SchemaComposer before calling composeWithMongoose method "schemaComposer.delete('TypeName')".
2. schemaComposer.buildSchema() Error: Schema must contain uniquely named types but contains multiple types named "ErrorInterface"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.