Very annoying that the @include directives were removed from API 2024-10 and later. when used like:
query ($updateId: ID!, $includeBody: Boolean!) {
updates(ids: [$updateId]) {
id
body @include(if: $includeBody)
assets {
id
name
url
file_size
}
}
}
There were no notes on this. Its not in the change logs
It was easy enough to work around, but annoying to need two queries or write code to build the query string when we used to just be able to set a variable to include it or not.