-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Another great plugin from you! I am really impressed. However I faced a little problem. Here is my use case:
- run two requests in the same code cell
- render only response from the second request
FYI, the first request triggers a CI build and second request checks its results; it could be a common use case.
However it didn't work so well as is. I've tried:
- use
httpbookwith the VSCode built-in renderer, it displays response from both requests - use
httpbookwith thehttpBook - Monaco Editor Renderer, it displays response from first request and doesn't refresh after second request completes - use
@no-logon first request, now it breaks the variable referencedoe.userand failes, however if I run it a second time, it seems able to resolve the variable somehow, from cached value maybe.
Below is a minimal example. It was really fun to use these plugins you've developed. I am not proficient in TS or VSCode plugin development; but let me see if I can get a grasp of them and contribute back.
###
@user = doe
@password = 12345678
# @name doe
GET https://httpbin.org/basic-auth/{{user}}/{{password}}
Authorization: Basic {{user}} {{password}}
###
# @ref doe
GET https://httpbin.org/basic-auth/{{doe.user}}worked/{{password}}
Authorization: Basic {{doe.user}}worked {{password}}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels