Open vikramshrowty opened 3 years ago
I'm trying to use the new EmbeddedResource functionality and I can't get it to work. My embedded relation array comes up empty. Looking into the code, I don't see how it would work. Specifically, it gets here : https://github.com/lagoshny/ngx-hal-client/blob/c88e24562de5ffffa437448cbd38c43faa0a8590/projects/ngx-hal-client/src/lib/core/model/base-resource.ts#L102
finds the _link missing , which it will be missing because it is embedded and then bails out with an empty array. I'm probably not using it right, but not sure what I'm doing wrong.
Hi @vikramshrowty , can you provide some model representation when using @Embedded entity and embedded relation array in your case?
@Embedded
I'm trying to use the new EmbeddedResource functionality and I can't get it to work. My embedded relation array comes up empty. Looking into the code, I don't see how it would work. Specifically, it gets here : https://github.com/lagoshny/ngx-hal-client/blob/c88e24562de5ffffa437448cbd38c43faa0a8590/projects/ngx-hal-client/src/lib/core/model/base-resource.ts#L102
finds the _link missing , which it will be missing because it is embedded and then bails out with an empty array. I'm probably not using it right, but not sure what I'm doing wrong.