graphql-compose / graphql-compose/graphql-compose-dataloader
Does it support circular data structure?
Open
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Suppose
Teacher mongoose model has students list,
but each student can be teacher of anyone, including the current teacher.
If I use composeWithMongoose and composeWithDataLoader, and create one teacher and search for one teacher using getResolver("findOne"),
it is throwing error, citing JSON.stringify does not support circular structure. If I do not use composeWithDataLoader, circular structure is working and is supported.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.