On version 1.1.1 when trying to query with the above it breaks with stack trace:
marketplace.component.ts:27 TypeError: Cannot read property 'data' of undefined
at eval (ngx-jsonapi.es5.js:1956)
at Array.forEach (<anonymous>)
at eval (ngx-jsonapi.es5.js:1955)
at eval (ngx-jsonapi.es5.js:351)
at Array.forEach (<anonymous>)
at Function.Base.forEach (ngx-jsonapi.es5.js:350)
at CacheStore.setCollection (ngx-jsonapi.es5.js:1952)
at eval (ngx-jsonapi.es5.js:2355)
at ZoneDelegate.invoke (zone.js:388)
at Object.onInvoke (core.js:4760)
The resource_type_alias is "comments.author", so resource.relationships[resource_type_alias].data can never work.
Is the nested include supported?
On version 1.1.1 when trying to query with the above it breaks with stack trace:
The
resource_type_alias
is"comments.author"
, soresource.relationships[resource_type_alias].data
can never work.