thread 'main' has overflowed its stack
fatal runtime error: stack overflow
[1] 2496 abort ./target/debug/gus start -m testing/server
So the program crashes.
In apollo-compiler@0.11.3:
An internal error occurs because salsa detected this cycle, so still an error but no crashing stack overflow.
So in terminal it is:
Description
During validation aren't all fragment cycles detected. This causes a stack overflow in latest beta
apollo-compiler@1.0.0-beta.5
Steps to reproduce
Validate the following query for your schema:
Here a code sample.
Expected result
The validation should pass and in the diagnostics should be one like:
Actual result
In
apollo-compiler@1.0.0-beta.5
:So the program crashes.
In
apollo-compiler@0.11.3
: An internal error occurs because salsa detected this cycle, so still an error but no crashing stack overflow. So in terminal it is:Here the code sample for this version.
Environment
apollo-rs
crate: apollo-compiler