Make D9 compatible
The RouteEnhancerInterface changes in Drupal 9, so the applies method in the main GraphQL method can no longer be relied upon to check the route.
thanks @acha5066 !
Is it retro compatible with D8? if not I'll have to open a new branch 9.x-1.x, what do you think?
@sebas5384 I have tested on both 8.8 and 9.0 and it is working so I think it is backwards compatible but more testing is always welcome! There is a similar PR for the main graphql repo https://github.com/drupal-graphql/graphql/pull/1067. This is the relevant change record in https://www.drupal.org/node/2894934.
Works fine with Drupal 8 and Graphql 3.1