Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use upcoming GraphQL version for testing #1306

Open
netwire88 opened this issue Apr 4, 2024 · 3 comments
Open

Ability to use upcoming GraphQL version for testing #1306

netwire88 opened this issue Apr 4, 2024 · 3 comments

Comments

@netwire88
Copy link

Overview

Currently, we can only use unstable and current version of GraphQL. It'll be very useful to use upcoming releases for development & testing. For example, even though it's April 4, 2024, we still cannot use 2024-04. It usually takes a week for Shopify to update shopify_api and then more time for shopify_app to be updated.

Uncaught exception: Invalid version 2024-04, supported versions: ["unstable", "2024-01", "2023-10", "2023-07", "2023-04", "2023-01", "2022-10", "2022-07", "2022-04", "2022-01"]
@lizkenyon
Copy link
Contributor

Hi there 👋

I can definitely see the value in having access to the release candidate API version! The team will look into adding this.

@michael-groble
Copy link

michael-groble commented Apr 13, 2024

what's hilarious is that this constant isn't frozen, so you can get by this with:

ShopifyAPI::AdminVersions::SUPPORTED_ADMIN_VERSIONS << '2024-04'

(seems I spoke too soon, that gets further, but still problems using graphql fields deprecated in 2024-04 )

@rbarreca
Copy link

It looks like this was fixed in #1305 and is also in the latest release of shopify_app gem 22.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants