Closed

Description
juniper::object()
macro generates a lambda that has access to the rest of the scope. This is unsafe since the user can access any symbol of the code when juniper::object()
expands.
This is the code I am talking about:
juniper/juniper_codegen/src/impl_object.rs
Lines 198 to 203 in 1148c75
It would be better to define a
fn
and give it the needed arguments.