sailor

A typesafe GraphQL client for PHP

MIT License

Downloads
175.9K
Stars
78
Committers
8
sailor - v0.33.0 Latest Release

Published by spawnia 2 months ago

Changed

  • Validate operation names start with upper case characters
sailor - v0.32.2

Published by spawnia 4 months ago

Changed

  • Improve configuration documentation
sailor -

Published by spawnia 4 months ago

Added

  • Include extensions.debugMessage in errors, if present
sailor -

Published by spawnia 6 months ago

Changed

  • Remove EndpointConfig::searchPath(), require finder() instead
sailor -

Published by spawnia 6 months ago

Added

  • Add DirectoriesFinder
sailor -

Published by spawnia 6 months ago

Added

  • Use PHPUnit 11 attributes for testing helpers
sailor - v0.31.0

Published by spawnia 9 months ago

Fixed

  • Allow symfony/var-exporter:^7
sailor - v0.30.1

Published by spawnia 10 months ago

Fixed

  • Fix registering commands with symfony/console v7
sailor - v0.30.0

Published by spawnia 11 months ago

Added

  • Allow symfony/console:^7
sailor - v0.29.3

Published by spawnia 12 months ago

Fixed

  • Fix namespace printing with nette/php-generator:^4.1.1
sailor - v0.29.2

Published by spawnia about 1 year ago

Fixed

  • Do not assume scalar values are string, use mixed
sailor - v0.29.1

Published by spawnia about 1 year ago

Fixed

  • Default to null when explicitly accessing undefined optional input properties
sailor - v0.29.0

Published by spawnia over 1 year ago

Added

  • Allow EndpointConfig::configureTypes() to customize object, interface and union type code generation
  • Add Operation::clearClients() and ClearsSailorClients

Changed

  • Only instantiate client once per operation
  • Expect callable $request in MockClient constructor over pushing to $responseMocks
sailor - v0.28.2

Published by spawnia over 1 year ago

Fixed

  • Clear log file when instantiating Log
sailor - v0.28.1

Published by spawnia over 1 year ago

Fixed

  • Handle queries with explicit __typename in fragments
sailor - v0.28.0

Published by spawnia over 1 year ago

Added

  • Support nette/php-generator:^4
sailor - v0.27.0

Published by spawnia almost 2 years ago

Added

  • Support webonyx/graphql-php:^15
sailor - v0.26.1

Published by spawnia almost 2 years ago

Fixed

  • Include client directives when inlining fragments
sailor - v0.26.0

Published by spawnia about 2 years ago

Added

  • Accept int in arguments of type ID and Float

Changed

  • Split TypeConfig::typeReference() into InputTypeConfig::inputTypeReference() and OutputTypeConfig::outputTypeReference()
sailor - v0.25.0

Published by spawnia about 2 years ago

Added

  • Implement PolymorphicConverter::toGraphQL()
Package Rankings
Top 3.74% on Packagist.org
Badges
Extracted from project README
CI Status codecov