-
Goal: Add a variable to a GraphQL query
-
Steps: 1. Add a new query 2. Select my GraphQL API as the source 3. Write query (see example) and wrap it with a required string variable 4. Add a value for the string variable under General > Variables 5. Run the query 6. Error that string variable is required and not provided even though I did provide it
-
Details: The query I am trying to execute:
query Repositories($tenantId: String!) {
repositories(data: {
tenantId: $tenantId
}) {
name
projectName
hostname
pathname
owner
}
}
- Screenshots: