Query does not fetch data in relation where relation has no data #81
Answered
by
thisisthemurph
thisisthemurph
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
thisisthemurph
Jul 3, 2023
Replies: 2 comments 5 replies
-
I don't have time to look at it now (got to go to work) but my guess is that it is defaulting to an |
Beta Was this translation helpful? Give feedback.
0 replies
-
So, I figured out what my issue was. I needed to have Before: [Reference(typeof(UnregisteredPartyInvitation))]
public UnregisteredPartyInvitation Invitation { get; set; } = new(); After: [Reference(typeof(UnregisteredPartyInvitation), shouldFilterTopLevel: false)]
public UnregisteredPartyInvitation Invitation { get; set; } = new(); |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
thisisthemurph
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, I figured out what my issue was.
I needed to have
shouldFilterTopLevel: false
on theUnregisteredParty.Invitation
reference. I am unsure why this impacted, but I guess there is something I don't understand about how Supabase works under the hood.Before:
After: