Skip to content

[6.x] graphql-php update#18757

Draft
i-just wants to merge 9 commits into6.xfrom
feature/graphql-php-update
Draft

[6.x] graphql-php update#18757
i-just wants to merge 9 commits into6.xfrom
feature/graphql-php-update

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Apr 27, 2026

Description

Updates webonyx/graphql-php from v14 to v15.

Overview of the changes:

  • custom types now have typed name and description properties
  • GraphQL\Type\Definition\FieldArgument was renamed to GraphQL\Type\Definition\Argument
  • Directive::$config['args'] now uses the same definition style as FieldDefinition::$config['args']
  • GraphQL\Validator\Rules\DisableIntrospection object needs to be constructed with an enabled int parameter
  • new FieldDefinition() should be used instead of FieldDefinition::create()
  • GraphQL::getStandardDirectives() is deprecated; using GqlDirective::builtInDirectives() instead
  • TypeInfo::extractTypes() expects exactly 2 arguments now
  • $recurse parameter has been removed from WrappingType::getWrappedType(); WrappingType::getInnermostType() should be used instead

webonyx/graphql-php changelog

Related issues

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant