Temporarily overwrite the Shopify API version
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Inizia esaminando le API di sessione e configurazione di ShopifyApp, in particolare il flusso session.query esistente. La modifica è completa quando una sessione può usare temporaneamente api_version: "unstable", mentre le altre richieste continuano a usare la versione stabile configurata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Overview
In some cases, we will need to make use of an unstable API, while the rest of the time, the app should be using the latest stable version of the API.
A good example is the new app events API.
We would like to leverage this API, but we're not able to, because we need to either configure the ShopifyApp gem to use the unstable API endpoint for everything or we need to write a small API client specifically for accessing the unstable API.
That's not ideal.
I'm not 100% sure how to make this possible, but ideally we would do something like this:
shop.with_shopify_session(api_version: "unstable") do |session|
session.query(query: GET_ORDER, variables: { id: "gid://shopify/Order/123" })
end
- Lingua principale
- Ruby
- Stelle
- 2k
- Fork
- 743
- Merge medio
- 7h 57m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Shopify/shopify_app
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
Shopify/shopify_app#2104 ·
-
devtools-gardener
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Shopify/shopify_app#2093 ·
-
devtools-gardener
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Shopify/shopify_app#2074 · 1 commento · 1 reazione ·
-
Ruby 4.0 compatibility: CGI.parse removed in LoginProtection#return_address_with_paramsForse già presa @bvogel l’ha presa 277 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Shopify/shopify_app#2057 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Shopify/shopify_app#2097 · 4 commenti · 1 reazione ·
Tutte le issue di Shopify/shopify_app
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
riverqueue/river#1608 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
simp/pupmod-simp-simp#430 ·
I maintainer di solito rispondono entro 1 giorno
-
Gateway 3.16 Admin API: correct the response schemas for GET /audit/requests and GET /audit/objectsApertauser-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Kong/developer.konghq.com#8382 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
simp/puppetsync#130 ·