Skip to content
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

Node module resolution #4

Closed
schickling opened this issue Dec 4, 2017 · 1 comment
Closed

Node module resolution #4

schickling opened this issue Dec 4, 2017 · 1 comment

Comments

@schickling
Copy link
Contributor

Allow the following:

# import Repository from "github-graphql-binding"

type Query {
  repo: Repository
}

This could potentially break the existing API by enforcing ./ for local imports.

Would be great to hear more thoughts on this feature proposal!

@kbrandwijk
Copy link
Contributor

Also see #11. Moving import mySchema from 'github-graphql-binding' into the code file, and leaving # import Repository from 'mySchema' in the actual schema.

kbrandwijk added a commit to kbrandwijk/graphql-import that referenced this issue Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants