Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 167624e

Browse files
committedMar 20, 2025·
skip loading if unstable or rc
1 parent 8fdc1f3 commit 167624e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎lib/shopify_api/context.rb

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ def load_rest_resources(api_version:)
101101
@rest_resource_loader&.setup
102102
@rest_resource_loader&.unload
103103

104+
# No resources for the unstable version or the release candidate version
105+
return if api_version == "unstable" || api_version == RELEASE_CANDIDATE_ADMIN_VERSION
106+
104107
version_folder_name = api_version.gsub("-", "_")
105108

106109
path = "#{__dir__}/rest/resources/#{version_folder_name}"

0 commit comments

Comments
 (0)
Please sign in to comment.