Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Why cant we create postflight scripts? #518

@airtonix

Description

@airtonix

https://github.com/apollographql/docs/blob/main/src/content/graphos/explorer/connecting-authenticating.mdx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions