Flake8 and pylama plugin that checks gql GraphQL calls.
Project description
A flake8 and Pylama plugin that checks the all the static gql calls given a GraphQL schema.
It will not check anything else about the gql calls. Merely that the GraphQL syntax is correct and it validates against the provided schema.
Warnings
This package adds 3 new flake8 warnings
GQL100: The gql query is doesn’t match GraphQL syntax
GQL101: The gql query have valid syntax but doesn’t validate against provided schema
Configuration
You will want to set the gql-introspection-schema option to a file with the json introspection of the schema.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gql-checker-0.1.tar.gz.
File metadata
- Download URL: gql-checker-0.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1a8be5ca7b0fff0413dd4a2ac71c6dc090cc6dcfaa6d059e64a561a1c9a7652
|
|
| MD5 |
d0706b1edc22e8cb845476e1fb524f9b
|
|
| BLAKE2b-256 |
d6a829915be0a974ef211aa6ad21bb6ec30527e46de73cb1bd549ae65cbcd8dc
|