Open Smolli opened 6 years ago
I added some handling to be able to serialize embedded arrays correctly. And I added lodash if you don't mind. 😃 I will provide the test coverage this weekend.
Could this be a part of the solution for https://github.com/deblockt/hal-rest-client/issues/22?
Thanks for this PR. after add unit test, and some code fix. it can be merged
@Smolli did you have work on your unit test?
Sorry, not right now. They shifted the focus on another project at work. But I try to get my hands on as soon as possible.
I was at the point were I was wondering why an embedded HAL resource isn't of the type that it was declared. I debugged and found that little bug. If the HAL name and the TS name don't match, the wrong type is being used. This should fix it.