Apollo-tooling: .graphqlconfig support

Created on 7 Dec 2018  路  2Comments  路  Source: apollographql/apollo-tooling

Currently it is not supported to load configuration from the standard .graphqlconfig.

It was removed in 202d3f5a3aeeaf0e2a5854c7eb8e725d26440b41 included in #497

Are there any plans to support .graphqlconfig again?

Most helpful comment

Would the team here be open to a PR reintroducing .graphqlconfig support, or was the removal deliberate? Is it not expressive enough to capture things that are important for Apollo projects? I'd love to get a sense of the motivations 馃檪

The broader ecosystem seems to be standardizing on it for things like editor support and other tooling, and Apollo's own eslint-plugin-graphql supports reading from .graphqlconfig. It would be nice not to need to duplicate information in different places for different tools.

All 2 comments

Would the team here be open to a PR reintroducing .graphqlconfig support, or was the removal deliberate? Is it not expressive enough to capture things that are important for Apollo projects? I'd love to get a sense of the motivations 馃檪

The broader ecosystem seems to be standardizing on it for things like editor support and other tooling, and Apollo's own eslint-plugin-graphql supports reading from .graphqlconfig. It would be nice not to need to duplicate information in different places for different tools.

We don't have plans for supporting .graphqlconfig right now. Part of the reason for this is the constant evolution of the needs for an apollo config. We need a lot of configuration options around engine settings, and there's a chance for more complicated extensions to the config in the future with our federation work.

Supporting other config formats (or making them the primary) would be pretty difficult, and very verbose.

This _may_ someday be up for consideration, but right now we don't have the bandwidth to work on this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hashlin picture hashlin  路  4Comments

u-ashish picture u-ashish  路  4Comments

clayne11 picture clayne11  路  3Comments

rasmusprentow picture rasmusprentow  路  3Comments

lirbank picture lirbank  路  4Comments