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

WIP getSchema #1474

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

WIP getSchema #1474

wants to merge 2 commits into from

Conversation

wtrocki
Copy link
Collaborator

@wtrocki wtrocki commented Sep 30, 2020

No description provided.

@ardatan
Copy link
Collaborator

ardatan commented Sep 30, 2020

Maybe use @graphql-tools/load and @graphql-tools/url-loader instead?

@wtrocki
Copy link
Collaborator Author

wtrocki commented Sep 30, 2020

@ardatan yep. If you see TODO in code. It has place where we can use those, but to really maintain backwards compatibility we needed to offer the same options and that was my main focus.

try {
newSchemaResult = argv.json
// TODO figure out how to resolve it using graphql-tools
? await endpoint.resolveIntrospection()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the code will stay here anyway.. This is the part that needs to be swapped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants