graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.69k stars 225 forks source link

Can we auto-fake without having to specify the faking it in the sdl file ? #164

Open vmary2014 opened 2 years ago

vmary2014 commented 2 years ago

More a question than an issue really I'd like to know if it is possible to get graphql-faker to auto fake the whole schema ? I have a sdl file from our API that I'd like to mock for tests purposes. If I load the file in graphql-faker it seems that I have to type @fake(type: ...) in front of the fields I need to mock otherwise I get its type in the response. Can it mock the entire schema ? Thanks Vincent