Closed
Description
I got some weird error after using #[graphql(complex)]
and #[ComplexObject]
on other struct.
So the affected struct doesn't have the "complex" thing.
I'm probably using nested ComplexObject
that uses some dataloaders.
I'll try to make a minimal, reproducible example.
Expected Behavior
Actual Behavior
13 | #[derive(Debug, PartialEq, SimpleObject)]
| -^^^^^^^^^^^
| |
| let's call the lifetime of this reference `'2`
| let's call the lifetime of this reference `'1`
| associated function was supposed to return data with lifetime `'1` but it is returning data with lifetime `'2`
| in this derive macro expansion
|
::: /home/bbigras/.cargo/registry/src/jiasu.xzqcsaa.nyc.mn-1ecc6299db9ec823/async-graphql-derive-3.0.38/src/lib.rs:47:1
Steps to Reproduce the Problem
Specifications
- Version: 3.0.38
- Platform: NixOS 22.05 (Quokka) x86_64
- Subsystem: