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

Mattermost Plugin: Lint GraphQL queries #10448

Open
Dschoordsch opened this issue Nov 4, 2024 · 0 comments
Open

Mattermost Plugin: Lint GraphQL queries #10448

Dschoordsch opened this issue Nov 4, 2024 · 0 comments

Comments

@Dschoordsch
Copy link
Contributor

          +1 it'd be nice to validate these strings so if the schema changes we're alerted https://www.loom.com/share/effc307dce5b42e5992e36c7e7c9aee6?sid=bf22c73b-cac7-48ba-a110-d79bb0a3cdc3

we could add this eslint plugin to do the work for us: https://the-guild.dev/graphql/eslint/docs

note:

i had to update my graphql.config.js file to the following:

module.exports = {
  schema: './packages/server/graphql/public/schema.graphql',
  documents: './packages/server/**/*'
}

Originally posted by @mattkrick in #10237 (comment)

@Dschoordsch Dschoordsch added this to the Mattermost Plugin milestone Nov 4, 2024
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