Releases: graphpql/graphpinator
Releases · graphpql/graphpinator
Fixed error for fragment on InputType
v0.25.1 added some test, fragment type is validated before its children
Normalizer & validation rework, improved spec conformity
- Existence of fields, arguments, directives, ... is now correctly done during normalisation.
- Improved field merging - added validation of response shape.
- Added new interface TypeConditionable which is applied to composite + outputable + named types.
- Added exception for unknown type/directive.
- Added exception for variable type which is not inputable.
- Added exception for fragment type condition which is not TypeConditionable.
Int 32bit cap
- added cap to Int type - specification explicitly requires it to be 32 bit
- added new addon type - BigInt - which does not have this limit and is architecture dependant - most likely 64bit
Parser error improvements
- All parser errors have location in source
- "Expected" category of parser errors print what they got instead.
- Added lowercase operation names (query, mutation, subscription) into reserved keywords.
- Arguments, fields or types should not be named after them as they now cannot be referenced from query
- Only lowercase words are reserved - capitalised type names like Query are working properly
- It is breaking change, but it was done because specification clearly mentions those words as keywords.
- Internal improvements.
Added exception on duplicate operation name
- new error on duplicate operation name
- added location to numerous parser errors
Fixed location in error messages
- Fixed location in error messages
- Improved tests
- Improved some error messages
Fixed List constraint on output values
- Added exception if directive referenced in request is not executable directive
- Fixed List constraint on output values
Fixed union not printing its description
v0.24.1 fixed union not printing description
Interface automatically inherits fields from parent interfaces.
v0.24 interface automaticaly inherits fields from parent interfaces
Request factory
v0.23 codestyle