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

Downloading schema from Apollo Studio without introspection is not supported for Swift Scripting setup #1690

Closed
kimroen opened this issue Mar 1, 2021 · 5 comments · Fixed by #1691
Labels
bug Generally incorrect behavior swift-scripting
Milestone

Comments

@kimroen
Copy link
Contributor

kimroen commented Mar 1, 2021

Bug report

It is currently not possible to download a schema from Apollo Studio using the Swift Scripting package solution. You can pass in an api key, but there is no way to specify a variant, and the endpointURL argument is required.

Versions

  • apollo-ios SDK version: 0.41
  • Xcode version: N/A
  • Swift version: N/A
  • Package manager: N/A

Originally posted by @kimroen in /~https://github.com/apollographql/apollo-ios/discussions/1689

@designatednerd designatednerd added bug Generally incorrect behavior swift-scripting labels Mar 1, 2021
@designatednerd
Copy link
Contributor

Yep, this is my bad - there's also no way to supply a graph ID.

@kimroen
Copy link
Contributor Author

kimroen commented Mar 1, 2021

Yep, this is my bad - there's also no way to supply a graph ID.

That's fair! It's in the token, so I just assumed it would figure it out I suppose.

@designatednerd
Copy link
Contributor

From talking to a couple people it looks like you still need to provide it, so i'm gonna make some changes.

@designatednerd
Copy link
Contributor

This will go out later this week with our next release but you can pull from main if you need it right away

@kimroen
Copy link
Contributor Author

kimroen commented Mar 2, 2021

It works 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Generally incorrect behavior swift-scripting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants