ardeois / graphql-codegen-typescript-mock-data

[GraphQL Codegen Plugin](https://github.com/dotansimha/graphql-code-generator) for building mock data based on the schema.
MIT License
133 stars 47 forks source link

fix(typesPrefix): use typesPrefix in imports #55

Closed ardeois closed 2 years ago

ardeois commented 2 years ago

When option typesFile was used, the import line was not using typesPrefix for types

Also used objects in function parameters, as the current params were getting out of control