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

graphql: add listGQLFields query #3276

Merged
merged 3 commits into from
Sep 13, 2023
Merged

graphql: add listGQLFields query #3276

merged 3 commits into from
Sep 13, 2023

Conversation

mastercactapus
Copy link
Member

Description:
This PR adds a new listGQLFields query that can return all fields used by a valid query OR all valid fields for the schema (if a query is omitted).
It also serves as a way to validate a query against the current schema.

Additionally, UserSession was changed to use a gqlgen-generated model to eliminate a circular dependency on the auth package.

Which issue(s) this PR fixes:
Part of #3007

Describe any introduced API changes:

  • Added a query listGQLFields
    image
    image
    image

@Forfold Forfold merged commit b738103 into master Sep 13, 2023
@Forfold Forfold deleted the gql-field-methods branch September 13, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants