GraphQL Analyser¶
Overview¶
Detects changes in GraphQL schema definitions.
Dependencies¶
graphql-core
Parse and validate GraphQL schemas
Enable/Disable¶
bumpwright --enable-analyser graphql
bumpwright --disable-analyser graphql
[analysers]
graphql = true # set to false to disable
See also
For configuration options, see concepts/configuration#analysers.
Severity Rules¶
Change |
Bump |
---|---|
Added type |
|
Removed type |
|
Added field |
|
Removed field |
|
Example¶
@@
- type User { id: ID! }
+ type User { id: ID!, email: String }
- [MINOR] User.email: Added field 'email'