You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you install version 5.7.0 you can perform GraphQL queries and get advantages from 2024-10 api version, but you get a "versioning" error with REST api calls.
The issue arises in the constructor of Rest/Base where it checks if Context::$API_VERSION !== static::$API_VERSION Context::$API_VERSION needs to be the LATEST (in app\Providers\AppServiceProvider.php) to get 2024-10 version features in the GraphQL client, but there is no Admin2024_10 folder on ther REST side, thus Context::$API_VERSION (2024-10) can never be equal to static::$API_VERSION (no more then 2024-07 at the moment I think).
Is there a configuration I can set to use both GraphQL and REST api with v5.7.0 version on the same Laravel project?
Many Thanks
The text was updated successfully, but these errors were encountered:
Hello, thanks for the great job!
If you install version 5.7.0 you can perform GraphQL queries and get advantages from 2024-10 api version, but you get a "versioning" error with REST api calls.
The issue arises in the constructor of Rest/Base where it checks if
Context::$API_VERSION !== static::$API_VERSION
Context::$API_VERSION
needs to be the LATEST (in app\Providers\AppServiceProvider.php) to get 2024-10 version features in the GraphQL client, but there is no Admin2024_10 folder on ther REST side, thusContext::$API_VERSION
(2024-10) can never be equal tostatic::$API_VERSION
(no more then 2024-07 at the moment I think).Is there a configuration I can set to use both GraphQL and REST api with v5.7.0 version on the same Laravel project?
Many Thanks
The text was updated successfully, but these errors were encountered: