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 visible (Hide)

graphpinator - 1.7.1 Latest Release

Published by peldax 11 months ago

  • Added new ErrorHandlingMode option
    • OUTPUTABLE - catch ClientAware and outputable, rethrow everything else
graphpinator - 1.7

Published by peldax 11 months ago

  • Introduced Error handling mode and removed $catchExceptions (with fallback)
    • NONE - rethrow everything (same as $catchExceptions = false)
    • ALL - catch everything (same as $catchExceptions = true)
    • CLIENT_AWARE - catch ClientAware, rethrow everything else
graphpinator - 1.6

Published by peldax 11 months ago

  • Handling errors using new ClientAware interface
  • Updated codebase to reflect changes in parser & tokenizer
  • Removed dependency on nette/utils
graphpinator - 1.5

Published by peldax 12 months ago

graphpinator - 1.4.3

Published by peldax 12 months ago

  • Fixed reporting a null value in non-null input field.
graphpinator - 1.4.2

Published by peldax 12 months ago

  • Fixed introspection, where field Schema::subscriptionType returned mutationType instead
graphpinator - 1.4.1

Published by peldax over 1 year ago

  • Made Schema and ResolvableField not final to allow extending and declaring as a service. This allows reusing definitions easily using DI.
graphpinator - 1.4

Published by peldax over 1 year ago

  • Raised minimum PHP version to 8.1
  • Codestyle & static analysis improvements
  • Internal improvements
    • Using of "new in initializers" where applicable
      • ⚠️ Possible BC break as some constructors now do not accept null.
    • TypesystemDirectiveLocation and ExecutableDirectiveLocation static classes are now native enums.
      • ⚠️ Possible BC break.
    • Results from FieldLocation, FragmentSpreadLocation, InlineFragmentLocation directive methods now must be native enum SelectionDirectiveResult instead of string.
      • ❗ BC break for custom directives, return type and value must be adjusted.
graphpinator - 1.3.3

Published by peldax over 1 year ago

  • Upgrade to PHPunit 10
  • Raised some requirements on dependencies. Most notably psr/log 3.0
graphpinator - 1.3.2

Published by peldax over 1 year ago

Improvements:

  • Validate that enum items match format given by GraphQL specification.
graphpinator - 1.3.1

Published by peldax over 2 years ago

Bugfixes:

  • Fixed edge cases for merging of selections for lists of types
graphpinator - 1.3

Published by peldax over 2 years ago

New feature:

  • Type automatically inherits descriptions for fields and arguments from interfaces it implements
    • No need to repeat description for every implementing type anymore
graphpinator - 1.2.6

Published by peldax over 2 years ago

Improvement:

  • Fixed incorrect behavior of isInstanceOf with not-null type.
graphpinator - 1.2.5

Published by peldax over 2 years ago

Improvement:

  • Allowed setting native enum value as default value of enum argument
graphpinator - 1.2.4

Published by peldax almost 3 years ago

Ergonomics:

  • Added option to print additional explanation message for variance errors
graphpinator - 1.2.3

Published by peldax almost 3 years ago

Ergonomics:

  • Print more information about found input/interface cycles in exception
graphpinator - 1.2.2

Published by peldax almost 3 years ago

New feature:

  • \Graphpinator\Typesystem\Attribute\Description attribute is now also used for Directives.

Other:

  • Minor tweaks in descriptions for built-in types.
graphpinator - 1.2.1

Published by peldax almost 3 years ago

New feature:

  • Ability to declare description for Type/EnumItem using attribute \Graphpinator\Typesystem\Attribute\Description, instead of constant/doc-comment.
  • Implemented Countable for ListValue class.
graphpinator - 1.2

Published by peldax almost 3 years ago

New feature:

  • Ability to create EnumItemSet from native PHP enum. It must be string backed. For this enum type (where the EnumItemSet is created from native PHP enum) arguments and results are automatically converted from/to PHP enum object.

Bugfix:

  • Added forgotten check to validate variable directive usage during normalization.
graphpinator - 1.1.2

Published by peldax almost 3 years ago

Bugfix / Ergonomics:

  • Avoid type error if unknown numeric arguments/inputfields are passed in variables, thrown exception now makes sense and provides all the information.