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

Starwars example of subscription #343

Closed
chenxianqi opened this issue Jun 20, 2019 · 3 comments
Closed

Starwars example of subscription #343

chenxianqi opened this issue Jun 20, 2019 · 3 comments
Labels
🚄 doc & examples requests for documentation, usage examples, and support

Comments

@chenxianqi
Copy link

I can't run the example perfectly, I tried to execute and waited for the following error
image
image
image

@chenxianqi
Copy link
Author

image

@truongsinh truongsinh added the 🚄 doc & examples requests for documentation, usage examples, and support label Jun 21, 2019
@micimize
Copy link
Collaborator

This is an introspection issue with angel-starwars-test-server - tested and the actual subscription should still work fine:

subscription {
  reviewAdded {
    stars, commentary, episode
  }
}

@micimize
Copy link
Collaborator

closing as I failed to reproduce, and the issue is at least in part a angel-starwars-test-server issue. The issue might have been that you changed the host block, weren't running from a simulator, or had some other local connection issue like in #212

String get host {
  if (Platform.isAndroid)
    return '10.0.2.2';
  else // for iOS simulator
    return 'localhost';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚄 doc & examples requests for documentation, usage examples, and support
Projects
None yet
Development

No branches or pull requests

3 participants