Skip to content

version 5.7.0 is missing REST 2024-10 api version, this leads to versioning errorΒ #380

@ducciodiblasi

Description

@ducciodiblasi

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, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions