What is the EnviromentVariables custom type in GraphQL API.
Anonymous
TRIALOP

a year ago

Hello!

I am trying to set several variables in one of my services using the GraphQL API playground. My current challenge is setting up environments for this service.

The issue I'm facing is finding the correct way to pass the variables as an input value. Here’s the format I’m working with:

{

"input": {

"environmentId": "xxxxxxxxx",

"projectId": "xxxxxxx",

"variables": {

"Test": "Value"

}

}

}

From my attempts so far, it seems like "variables" needs to be a simple string. However, there’s no clear documentation on the exact format. I need to include up to 12 variables in the input, and it's becoming quite complex to figure out the correct approach.

I feel like there must be a straightforward solution to this—does anyone have experience with this or know how to properly format these variables?

Thanks in advance!

1 Replies

a year ago

Please provide the full query and input you are currently using.


Loading...