graphpinator

Easy-to-use & Fast GraphQL server implementation for modern PHP. Includes features from latest draft, middleware directives and modules with extra functionality.

MIT License

Downloads
14.6K
Stars
38

Bot releases are hidden (Show)

graphpinator - Abstraction of printing order

Published by peldax over 4 years ago

  • ability to implement different sorting algorithm
  • AlphabeticalSorter (default) and TypeKindSorter included
graphpinator - Printing - alphabetical sort of types

Published by peldax over 4 years ago

  • Alhpabetical sort of printed types
  • EnumItem constructor can set description directly
graphpinator - Removed Instaniable interface

Published by peldax over 4 years ago

  • 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
graphpinator - Schema printing

Published by peldax over 4 years ago

  • Implemented schema printing
  • New contract: Leaf - either Enum or Scalar
  • Few changes to SimpleContainer
graphpinator - Lazy input fields, minor improvements

Published by peldax over 4 years ago

  • Lazy loading of input fields (using same interface as regular type)
  • Added EnumItemSet::getArray, to return raw array of options
  • Added SimpleContainer implementation
graphpinator - Error responses, location in source

Published by peldax over 4 years ago

  • Source: replaced position int with Location object
  • Added errors into response
graphpinator - Implemented missing introspection pieces

Published by peldax over 4 years ago

  • Implemented resolution of __Type.:possibleTypes for Interfaces
  • Implemented inludeDeprecated argument for __Type::fields and __Type::enumValues
  • Improvements of tests and exceptions
graphpinator - Directives on fields, fragment spreads and inline fragments

Published by peldax over 4 years ago

  • Implemented directives on fields, fragment spreads and inline fragments
  • Added specific exceptions for tokenizer and parser
  • Improved tests
graphpinator - Allowed positive sign in exponential part & fixes

Published by peldax over 4 years ago

  • Allowed positive sign in exponential part in Float value
  • Fixed resolution of list type, which threw exception if its inner child was a leaf
graphpinator - Tokenizer improvements & fixes

Published by peldax over 4 years ago

  • Allowed multiple string literals right after themselves
  • Fixed exception with negative zero
  • Improved some error messages
graphpinator - Block strings & string escaping

Published by peldax over 4 years ago

  • Implemented block strings
  • Implemented escaping of "\/bfnrt
  • Implemented escaping of unicode characters
graphpinator - Initial release

Published by peldax over 4 years ago

Know specification incompatibilities:

  • Directives
  • Block String literal & String escaping
  • Multiple operations in single request
  • Extending schema
  • Introspection: __Type: possibleTypes empty for interface
  • Introspection: __Type: fields, enumValue missing includeDeprecated argument