odin icon indicating copy to clipboard operation
odin copied to clipboard

Can we access the original source?

Open joeyjurjens opened this issue 1 year ago • 0 comments

Not really an issue, more of a question;

I have the following use case;

I have a base odin resource that gets created from a django Queryset. From this base odin resource, we map to other resources.

In some scenario's, the other resources may need need to access fields that were present in the Queryset model instance, but the base resource itself does not really need it, so I'd rather not define it there.

Is there a recommended way to tackle this approach? Cause right now I'm doing a seperate db query to retrieve that field, but this isn't ideal regarding performace.

joeyjurjens avatar Sep 07 '24 17:09 joeyjurjens