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 - 1.0 rc19

Published by peldax over 3 years ago

  • Fixed typeerror in introspection
  • Added validation for float type - value must be finite
graphpinator - 1.0 rc18

Published by peldax over 3 years ago

  • Included option to disable schema validation checks (for production environments)
graphpinator - 1.0 rc17

Published by peldax over 3 years ago

  • Fixed missing interfaces in introspection - according to specs, interface structure must be flattened and all interfaces must be displayed -> including parent ones
graphpinator - 1.0 rc16

Published by peldax over 3 years ago

  • Replaced constant with static function for distinction between pure and non-pure argument directive
graphpinator - 1.0 rc15

Published by peldax over 3 years ago

  • Added FieldDefinition start hook
  • Distinction between pure argument directives, which can be resolved in normalization, and non-pure which are resolved before field execution
graphpinator - 1.0 rc14

Published by peldax over 3 years ago

  • Improved log messages & log levels
graphpinator - 1.0 rc13

Published by peldax over 3 years ago

  • Refactored createInputedValue polymorphic function into visitor
  • Added path to value creation for variables
  • Default values are now instances of ArgumentValue
  • New ScalarValue::coerceValue hook
graphpinator - 1.0 rc12

Published by peldax over 3 years ago

  • Moved Parser into separate package
  • Added specialized Resolver object
  • Removed introspection methods from container
  • Less important namespace adjustments
  • Added ScalarValue::setResolverValue
graphpinator - 1.0 rc11 build 3

Published by peldax over 3 years ago

  • Fixed unknown fragment error during cycle validation
graphpinator - 1.0 rc11 build 2

Published by peldax over 3 years ago

  • Fixed unknown fragment error during cycle validation
  • Fixed error in complex parser value conversion
graphpinator - 1.0 rc11

Published by peldax over 3 years ago

  • Moved normalization & finalization processes into specialized classes
  • Replaced some methods with visitors
  • Improved numerous error messages
  • Normalization errors now display path in request tree
graphpinator - 1.0 rc10 build 4

Published by peldax over 3 years ago

  • Improved error message for missing fragment
graphpinator - 1.0 rc10 build 3

Published by peldax over 3 years ago

  • Fixed order of arguments for input & object directives
graphpinator - 1.0 rc10 build 2

Published by peldax over 3 years ago

  • Fixed contract for InputObject directives
graphpinator - 1.0 rc10

Published by peldax over 3 years ago

  • Changed order of parameters in directive location interfaces.
  • Added field arguments parameter to fieldDefinitionBefore & After hooks.
  • Replaced validateType with specific functions for each location - eg validateFieldUsage, validateArgumentUsage.
graphpinator - 1.0 rc9

Published by peldax over 3 years ago

  • Reworked executable directives
  • Removed Directive constructor
    • locations are now detected from interfaces
    • repeatable is now constant
  • Added new fieldLocation directive hook
  • Implemented directives on locations
  • Removed Parser\DirectiveSet location property
  • Renamed Directive::appendDirectives to afterGetFieldDefinition
graphpinator - 1.0 rc8

Published by peldax over 3 years ago

  • Removed some unused and/or unnecessary methods (isOutputable, isResolvable, hasDescription)
  • Added NamedType & Type to visitor scope
  • Moved resolver & createResolvedValue logic to visitors
  • FinalizedRequest already has applied variables (previously the variables were applied before execution)
graphpinator - 1.0 rc7 build 3

Published by peldax over 3 years ago

  • Added default value to second argument in addDirective function
  • Removed unused property
graphpinator - 1.0 rc7 build 2

Published by peldax over 3 years ago

  • Added InputType::afterGetFieldDefinition, to avoid some rare infinite loops
graphpinator - 1.0 rc7

Published by peldax over 3 years ago

  • Extracted whole schema printing logic to separate package