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

githubendpoint query not working #128

Open
LilaKelland opened this issue Mar 8, 2024 · 0 comments
Open

githubendpoint query not working #128

LilaKelland opened this issue Mar 8, 2024 · 0 comments

Comments

@LilaKelland
Copy link
Collaborator

Apologies for not submitting this issue while it was fresh in mind. Was working in the 'update-api' branch - to update query.py to reflect changes made in the mutations/ database structure. This was to able to retrieve data through graphiql (localhost:4000/graphql) and the UI. (Had mostly been working in with the database UI up to this point.)

While the webendpoint query was able to pull out the check_passes and metadata fields, strangely the githubendpoint query was not. After running through the debugger with Collin, we narrowed it down to an issue with the strawberry library not performing the second camelCase/snake_case conversion, causing either not found field errors or null results.

Since the webendpoint works, you may want to investigate the differences to see if there's another cause.

Also note - there likely needs to be some mutation refactoring - to take into consideration how the data is being used by the UI.

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

No branches or pull requests

1 participant