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

Bug: stackoverflow on recursive fragment call #638

Open
phob0s-pl opened this issue Oct 16, 2023 · 0 comments
Open

Bug: stackoverflow on recursive fragment call #638

phob0s-pl opened this issue Oct 16, 2023 · 0 comments
Labels
bug Something isn't working internally-reviewed Internally reviewed

Comments

@phob0s-pl
Copy link
Contributor

The normalization which calculates depth is called before operation verification which checks fragment cycle.

The query which fails for federation demo in v2 and v2 is:

fragment badFragment on Review {
  product {
    reviews {
      ... badFragment
    }
  }
}

query {
  topProducts(first:1) {
    reviews {
      ... badFragment
    }
  }
}
@StarpTech StarpTech added the internally-reviewed Internally reviewed label Mar 11, 2024
@devsergiy devsergiy added the bug Something isn't working label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internally-reviewed Internally reviewed
Projects
None yet
Development

No branches or pull requests

3 participants