I am having trouble filtering by an enum in my GraphQL query. In a REST API call, I can just user a string for the query. However, this seems not to work with GraphQL. Here is the query I’m trying to run:
{
actions(
filters: {
action : {
teamRole: {
eq: "leader"
}
}
}
) {
data {
id
attributes {
action {
name
duration
description
teamRole
type
successRate
targetsNode
targetsEdge
}
}
}
}
}
This topic has been created from a Discord post (1236490256749039657) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord