-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection of libraries and how they import from graphql
#4074
Comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks @phryneas I just pushed a fix that removed deep imports wherever I can. The following is up to date with that.
|
This makes the library better prepared for future versions of `graphql` package. See: graphql/graphql-js#4074
|
|
A new library I'm working on needs |
In the April meeting of the graphql-js-wg, there was discussion about bundling changes in the
graphql
package (#4062).As these changes would also add an
exports
field, @benjie suggested that we might want to have a restrictive set ofexports
entry points (onlygraphql
, maybe one or two more?), to discourage from deep-importing from implementation details we do not consider the public interface of the library and which would result in uninteded breaking changes upon e.g. code reorganization.In this issue, we want to collect libraries and how they are importing from
graphql
, to ensure that this is a feasible idea so we can discuss this further in the next graphql-js-wg meeting.If you are generally opposed to a change like this, this issue (or the next WG meeting) are a good place to write your concerns down :)
Please copy-paste this template into a comment and fill it out:
The text was updated successfully, but these errors were encountered: