You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following fails with a fatal runtime error: stack overflow...
let source = r#" { ...fragA } fragment fragA on Query { ...fragA }"#;letmut compiler = apollo_compiler::ApolloCompiler::new();let file_id = compiler.add_executable(source,"");
compiler.db.validate_executable(file_id);
Interestingly, this only happens when the fragment spread is the initial selection in both scopes. Either of these permutations where the spread is preceded by another selection avoids the stack overflow:
Description
The following fails with a
fatal runtime error: stack overflow
...Interestingly, this only happens when the fragment spread is the initial selection in both scopes. Either of these permutations where the spread is preceded by another selection avoids the stack overflow:
Or...
Steps to reproduce
See snippet above.
Expected result
Should get an error rather than a stack overflow.
Actual result
Stack overflow.
Environment
apollo-rs
crate:apollo-compiler
0.8.0
The text was updated successfully, but these errors were encountered: