-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
Add ability to use request body response in scene #1148
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1148 +/- ##
=======================================
Coverage 96.26% 96.27%
=======================================
Files 638 639 +1
Lines 8090 8097 +7
=======================================
+ Hits 7788 7795 +7
Misses 302 302
Continue to review full report at Codecov.
|
Two questions:
|
Nice demo, 2 questions, really ?
Be able to catch default 4xx / 5xx errors, and maybe replace values by a magic i18n word
If you use |
I don't think we want that, sending a message with a variable is just an example, but variables can be used in the "continue only if" block and compared with numbers, so it makes no sense no replace variables with default values. I think we might want to do nothing for now, and see with usage if we want to add an option in the action box like "stop the scene if the request fails" Edit: See my message here about why it's not the default option: https://community.gladysassistant.com/t/utiliser-une-reponse-api-externe-dans-une-scene/6199/8?u=pierre-gilles |
Pull Request check-list
To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:
npm test
on both front/server)npm run eslint
on both front/server)npm run prettier
on both front/server)npm run compare-translations
on front)front/src/config/demo.json
) so that the demo website is working without a backend? (if needed) See https://demo.gladysassistant.com.NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
Description of change
The user is now able to use the try a request in scene, and use the API response in other boxes of the scene
Example with Bitcoin price:
Kapture.2021-04-17.at.11.31.19.mp4