Skip to content

Releases: graphpql/graphpinator

Fixed error for fragment on InputType

10 Nov 17:52
Compare
Choose a tag to compare
v0.25.1

added some test, fragment type is validated before its children

Normalizer & validation rework, improved spec conformity

10 Nov 16:11
Compare
Choose a tag to compare
  • 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

09 Nov 13:36
Compare
Choose a tag to compare
  • 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

07 Nov 19:29
143d4d7
Compare
Choose a tag to compare
  • 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

05 Nov 14:48
Compare
Choose a tag to compare
  • new error on duplicate operation name
  • added location to numerous parser errors

Fixed location in error messages

04 Nov 21:05
Compare
Choose a tag to compare
  • Fixed location in error messages
  • Improved tests
  • Improved some error messages

Fixed List constraint on output values

29 Oct 20:15
Compare
Choose a tag to compare
  • Added exception if directive referenced in request is not executable directive
  • Fixed List constraint on output values

Fixed union not printing its description

29 Oct 12:54
5eccd26
Compare
Choose a tag to compare
v0.24.1

fixed union not printing description

Interface automatically inherits fields from parent interfaces.

27 Oct 15:54
Compare
Choose a tag to compare
v0.24

interface automaticaly inherits fields from parent interfaces

Request factory

27 Oct 13:49
Compare
Choose a tag to compare
v0.23

codestyle