You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a model profile with a hasMany relationship to a Enrolment model, it works fine when I retrieve the profile data with the enrolments records, but when I tried to update the Profile record, I’m getting this error:
code: "42703"
details: null
hint: null
message: "column _.enrolments does not exist"
As a workaround I've added this code to the Application serializer:
I have a model profile with a hasMany relationship to a Enrolment model, it works fine when I retrieve the profile data with the enrolments records, but when I tried to update the Profile record, I’m getting this error:
As a workaround I've added this code to the Application serializer:
I think it would worthy to add this as the default behaviour, as it seems Supabase doesn't handle the relationship field send by the Serializer.
The text was updated successfully, but these errors were encountered: