Zach
06/21/2022, 6:40 PM{
"error": {
"data": null,
"errors": [
{
"message": "Variable \"runId\" of type \"ID\" used in position expecting type \"ID!\".",
"locations": [
{
"line": 1,
"column": 18
},
{
"line": 2,
"column": 21
}
]
}
]
}
}
and my query:
query LogsForRun($runId: ID){
logsForRun (runId: $runId) {
__typename
... on EventConnection {
events {
__typename
... on ExecutionStepStartEvent {
runId
timestamp
stepKey
}
}
}
}
}
with this variable:
{
"runId": "1d71f590-e925-42eb-af6c-831d524e1945"
}
rex
06/21/2022, 6:41 PMID!
(signifying that $runId
will be non null)
query LogsForRun($runId: ID!){
logsForRun (runId: $runId) {
__typename
... on EventConnection {
events {
__typename
... on ExecutionStepStartEvent {
runId
timestamp
stepKey
}
}
}
}
}
Zach
06/21/2022, 6:43 PM