Open
Description
Hi, i have the following models:
client.define('role', {
name: '',
displayname: '',
service_authorizations: {
jsonApi: 'hasMany',
type: 'service_authorization'
}
})
client.define('service', {
name: '',
displayname: '',
service_authorizations: {
jsonApi: 'hasMany',
type: 'service_authorization'
}
})
client.define('service_authorization', {
name: '',
displayname: '',
service: {
jsonApi: 'hasOne',
type: 'service'
},
roles: {
jsonApi: 'hasMany',
type: 'role'
}
})
When trying to fetch the roles and its relationships i use the following:
this.$authApiClient.findAll('role', { include: ['service_authorizations', 'service_authorizations.service'] })
But it crashes with the error in the title.
Metadata
Metadata
Assignees
Labels
No labels