Skip to content

Releases: graphpql/graphpinator

Final fuctions

04 Aug 15:33
Compare
Choose a tag to compare
  • Marked numerous functions in type objects as final
  • Moved request validation inside try-catch block

Multiple operations

01 Aug 17:00
Compare
Choose a tag to compare
  • request can now contain multiple operations

Improved object ergonomics

28 Jul 19:59
Compare
Choose a tag to compare
  • Request is passed as whole json instead of separate parameters (BC break)
  • Added validation of request body

Printing of descriptions (api documentation)

21 Jun 11:15
7aa1eea
Compare
Choose a tag to compare
Merge pull request #15 from vossik/sorting

Print description

Abstraction of printing order

17 Jun 16:17
327b3f6
Compare
Choose a tag to compare
  • ability to implement different sorting algorithm
  • AlphabeticalSorter (default) and TypeKindSorter included

Printing - alphabetical sort of types

15 Jun 22:03
4c64508
Compare
Choose a tag to compare
  • Alhpabetical sort of printed types
  • EnumItem constructor can set description directly

Removed Instaniable interface

11 Jun 20:07
b47f6de
Compare
Choose a tag to compare
  • Instantiable::createValue was moved to Definition interface and Instantiable was removed
  • Resolve function now works the same for both concrete and abstract return types.
    • Previously: Abstract resolve functions were required to return FieldResult with concrete resolution, this caused major problems for list of abstract types
    • Now: Abstract resolve functions can return any result normally, but Abstract types must implement createValue method which should be used to specify concrete resolution

Schema printing

28 Apr 17:53
Compare
Choose a tag to compare
  • Implemented schema printing
  • New contract: Leaf - either Enum or Scalar
  • Few changes to SimpleContainer

Lazy input fields, minor improvements

26 Apr 17:36
1780de6
Compare
Choose a tag to compare
  • Lazy loading of input fields (using same interface as regular type)
  • Added EnumItemSet::getArray, to return raw array of options
  • Added SimpleContainer implementation

Error responses, location in source

19 Apr 15:34
Compare
Choose a tag to compare
  • Source: replaced position int with Location object
  • Added errors into response