Why cant we create postflight scripts?
Opened this issue · 0 comments
airtonix commented
I especially want to store the token in environment from the response of my login mutation
But with the way you've done this, it means that I now have to create a script that:
- makes the request to login
- store the token from that js initiated request
then paste that INTO EVERY SINGLE OTHER OPERATION !!!!!
instead what I want is this :
- open my login mutation operation
- add to it's script a thing that responds to the response and store the token in the environment
then simply run my other operations without having to paste this in every single other operation in my collection