I want to use a query that simply queries the board using Apollo Client in a Java environment.
[ Board Query ]
query Boards($ids: [Long]!) {
boards(ids: $ids) {
id
name
}
}
I wonder how I can look up the board using the GraphQL variable.
In Java, numbers exceeding 2^32(such as 3249001234) must be specified as Long, not int, and if Type is specified as Long, an error occurs because it does not match the type defined in Monday.
I tried to do it the other way around, but the same type doesn’t match, so an error occurs.
[ Board Query ]
query Boards($ids: [Int]!) {
boards(ids: $ids) {
id
name
}
}
How can i handle this problem?