Serialization issue with big GraphQL schemas

Created on 11 April 2024, 3 months ago

Problem/Motivation

When serializing a big GraphQL schema we see an issue:

Warning: unserialize(): Maximum depth of 4096 exceeded. The depth limit can be changed using the max_depth unserialize() option or the unserialize_max_depth ini setting in Drupal\Component\Serialization\PhpSerialize::decode() (line 21 of /app/html/core/lib/Drupal/Component/Serialization/PhpSerialize.php)

Steps to reproduce

Create a big GraphQL schema and try to query the API

Proposed resolution

GraphQL module resolved the issue on version 4.7.0 but this is not yet updated on Open Social, we can host a patch and apply it to Open Social

Original issue: https://github.com/drupal-graphql/graphql/pull/1364

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

12.3

Component

Code (back-end)

Created by

πŸ‡³πŸ‡±Netherlands tbsiqueira Rotterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024