I have following resources setup in my project, User & Role, their relationship is 1-N
User
Role
API response
Issue
As you can see in the source code, I specific the relationship key is pluralize roles, but the type is role.
The Role resource cannot be parse with this config, I think it might be related to the different between type and relationship key in the Resource class.
I have following resources setup in my project, User & Role, their relationship is
1-N
User
Role
API response
Issue
As you can see in the source code, I specific the relationship key is pluralize
roles
, but the type isrole
.The Role resource cannot be parse with this config, I think it might be related to the different between
type
and relationship key in the Resource class.Please help !