Hello once again everyone,
So, we have a User model which has a relationship with Employee.
on the frontend the relationship is called
profile, and in the past (before json api), we used
attrs on serializer to match the fields.
But now, I can’t make it recognize the relationship. I tried the
normalize hooks on the serializer, changing payload keys, but doesn’t seem to work.
And there’s no documentation, so how should I be normalizing the backend payloads reliably?