Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum call stack size exceeded when @include in sub fields #1406

Open
doukai opened this issue Dec 31, 2024 · 0 comments
Open

Maximum call stack size exceeded when @include in sub fields #1406

doukai opened this issue Dec 31, 2024 · 0 comments

Comments

@doukai
Copy link

doukai commented Dec 31, 2024

Describe the bug

When @include exists in realm field, an exception is thrown

query Query_group_agg($id: StringExpression $name: StringExpression  $include_id: Boolean = false $include_name: Boolean = false $include_realm: Boolean = false $include_realm_nameCount: Boolean = false $include_realm_nameMax: Boolean = false $include_realm_nameMin: Boolean = false ) {
  group(id: $id name: $name) {
    id @include(if: $include_id)
    name @include(if: $include_name)
    realm @include(if: $include_realm) {
      nameCount @include(if: $include_realm_nameCount)
      nameMax @include(if: $include_realm_nameMax)
      nameMin @include(if: $include_realm_nameMin)
    }
  }
}
Maximum call stack size exceeded

After eliminating @include in realm filed, success

query Query_group_agg($id: StringExpression $name: StringExpression  $include_id: Boolean = false $include_name: Boolean = false $include_realm: Boolean = false $include_realm_nameCount: Boolean = false $include_realm_nameMax: Boolean = false $include_realm_nameMin: Boolean = false ) {
  group(id: $id name: $name) {
    id @include(if: $include_id)
    name @include(if: $include_name)
    realm @include(if: $include_realm) {
      nameCount
      nameMax
      nameMin
    }
  }
}

Any good ideas? Thanks

Reproduction

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant