bug: modify response/request rule does not work in GET GraphQL requests
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- graphql, typescript
Direzione di ricerca
Start with the rule parser in the extension and desktop app, then inspect app/src/components/mode-specific/desktop/InterceptTraffic/WebTraffic/TrafficExporter/harLogs/utils.ts, especially how GET queryParams are represented. Reproduce the GraphQL GET request from the issue and trace the matcher for operationName and query parameters. Done means matching response/request rules apply to GraphQL GET requests in both tools.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe your issue?
-
The rule parser in both extension and desktop app only match GQL operationName in request body and not from queryParams in case of GET request
-
The network traffic table in both extension and desktop app do parse queryParams as well but the actual rule matcher does not. requestDetails.requestData is undefined in case of GET requests. Refer here
-
GQL requests like https://www.producthunt.com/frontend/graphql?operationName=HeaderDesktopProductsNavigationQuery&variables=%7B%7D&extensions=%7B%22persistedQuery%22%3A%7B%22version%22%3A1%2C%22sha256Hash%22%3A%22b837580ad37ccb60cafa1e4dca02cedfcb1d60dd6742323032ee0f64204fc579%22%7D%7D are not matched by graphql filter
Repro steps
Try to create a GraphQL response/request rule to apply on a GET request where operationName and query is passed through query params. Check rule wont be applied.
What Requestly tool were you using?
- Extension
- Desktop-App
- Android SDK
- Selenium
Your Environment
Chrome 142
Requestly Version
25.9.24
Error screenshot
No response
- Lingua principale
- TypeScript
- Stelle
- 87
- Fork
- 23
- Merge medio
- 14h
- PR unite (30g)
- 3
Guida per i contributori
Apri 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 requestly/interceptor
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
requestly/interceptor#121 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
requestly/interceptor#26 · 1 commento ·
-
migration:misfiled-interceptor
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
requestly/interceptor#27 · 2 commenti ·
-
migration:misfiled-interceptor
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
requestly/interceptor#28 · 1 commento ·
-
migration:misfiled-interceptor type:bug
requestly/interceptor#29 · 2 commenti · 1 assegnatario ·
Tutte le issue di requestly/interceptor
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
security
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
IBM/node-sdk-core#373 ·
-
e2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100