Calling Symfony\Component\HttpFoundation\Request::getSession() without having a session is deprecated in Symfony 4 and throws an exception in Symfony 5 and later.
We are calling this method in SubRequestBuffer::createRequest(), so we need to address this deprecation.
This affects only the legacy GraphQL 3.x on Drupal 10.
Calling
Symfony\Component\HttpFoundation\Request::getSession()
without having a session is deprecated in Symfony 4 and throws an exception in Symfony 5 and later.We are calling this method in
SubRequestBuffer::createRequest()
, so we need to address this deprecation.This affects only the legacy GraphQL 3.x on Drupal 10.