You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can have post action that supports prettier. Generally, there are couple ways to format things so it is best to do it post write. Prettier has really nice programmatic api if needed but generally there could be many cases here like - prettier being part of the mono repo etc. It is easier to:
have post script action to perform prettier in your project
Closing this since graphql-config no longer exposes a writeSchema method. If you need to print the schema, you can use getSchema or getSchemaSync and then call printSchema from the graphql module on the returned GraphQLSchema object.
It could be really nice to have prettier support, reading found .prettierrc within the project WDYT?
The text was updated successfully, but these errors were encountered: