overblog / GraphQLBundle

This bundle provides tools to build a complete GraphQL API server in your Symfony App.
MIT License
783 stars 221 forks source link

Account for type change in Symfony Profiler ^6.2 #1118

Closed darrylhein closed 1 year ago

darrylhein commented 1 year ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? n/a
Fixed tickets none atm
License MIT

In Symfony 6.2, the $limit argument to Profiler::find() was changed from a string to an integer in this commit: https://github.com/symfony/http-kernel/commit/13b9831be953c052c6c515a7fd58c7d31979542d and related issue: https://github.com/symfony/symfony/issues/49656 This takes into account older Symfony versions that only accept a string.

darrylhein commented 1 year ago

Dup of #1117