Open a-laughlin opened 4 years ago
@a-laughlin Do you want a CLI flag for that or you want to use graphql-faker
as a library in your framework?
Simple and flexible is good. Perhaps a query function to generate various
mocks on demand. e.g., "require('graphql-faker').query(
CLI would be more complicated. Running 'node -e
"require('graphql-faker').query(
On Wed, Jun 10, 2020, 11:34 PM Ivan Goncharov notifications@github.com wrote:
@a-laughlin https://github.com/a-laughlin Do you want a CLI flag for that or you want to use graphql-faker as a library in your framework?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/APIs-guru/graphql-faker/issues/121#issuecomment-642418612, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI7HTZDUNILWIDWCJUNWZLRWBUHPANCNFSM4N23O7NA .
@a-laughlin Do you want a CLI flag for that or you want to use
graphql-faker
as a library in your framework?
Through a library will be good!
Love the project! Looking to generate mocks for testing client state. Is there any way to render query output to a file without starting the server? It looks like graphqlHTTP is the only query api currently.