graphql-cli icon indicating copy to clipboard operation
graphql-cli copied to clipboard

Support for .graphqlrc.js

Open heri16 opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. I would like my schema to be configured differently depending on NODE_ENV environmental variable.

According to https://graphql-config.com/introduction, graphql.config.js or .graphqlrc.js is supported for such use case.

Describe the solution you'd like Support graphql.config.js or .graphqlrc.js

heri16 avatar Jan 16 '21 06:01 heri16

We support those already. Could you share how your js config file looks like?

ardatan avatar Jan 16 '21 14:01 ardatan