What is the best approach if I need to pass arguments to my dataloader?
I've seen 2 issues on here where people suggest using anonymous structs but that feels pretty janky for a few reasons.
I could also see a solution of just throwing it into context but that also doesn't feel right because we lose type safety.
Is there a better officially supported approach?
What is the best approach if I need to pass arguments to my dataloader?
I've seen 2 issues on here where people suggest using anonymous structs but that feels pretty janky for a few reasons.
I could also see a solution of just throwing it into context but that also doesn't feel right because we lose type safety.
Is there a better officially supported approach?