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

Add basic tests ensuring that examples continue to function #30

Open
shyndman opened this issue Jun 16, 2021 · 1 comment
Open

Add basic tests ensuring that examples continue to function #30

shyndman opened this issue Jun 16, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@shyndman
Copy link
Contributor

A user recently reported that the todo example wasn't working, and it would be good to ensure that it doesn't happen again

@shyndman shyndman added the enhancement New feature or request label Jun 16, 2021
@chonghorizons
Copy link

chonghorizons commented Dec 14, 2021

I can report that the todos doesn't work. I was looking for a way to see if the graphql/Hasura connection was established, but the NhostClient(baseUrl: nhostApiUrl) object doesn't have a checkStatus method that I could figure out.

I get this:

image

when running packages/nhost_flutter_graphql/example/lib/simple_graphql_example.dart from Android Studio.

  • No linter errors.
  • Yes, I made an app and changed the two URLs
  • Yes, I created a todos table.
  • I think I correctly change the permissions to public. I was running the example to see if it's working. Example won't run, but I'm not sure if this is because the endpoint is still not accessible OR the example code has an error.
  • Note: I was building for web, not an Android device.

@mhadaily mhadaily self-assigned this Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants