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

Cleanup test for gql server #60

Open
encero opened this issue Apr 19, 2022 · 1 comment
Open

Cleanup test for gql server #60

encero opened this issue Apr 19, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@encero
Copy link
Owner

encero commented Apr 19, 2022

Right now there is bunch of copy pasted code and its hard to read.

Maybe we can utilize some gql library, or test the resolvers directly.

Moreover the "setup" functions need some love

@encero
Copy link
Owner Author

encero commented Apr 19, 2022

This looks feasible https://github.com/hasura/go-graphql-client

We dont want library that is using generation, as we want assert the query shape in tests, to maintain BC.

@encero encero added the enhancement New feature or request label Apr 19, 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

1 participant