Skip to content

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.

2 participants