deblockt / hal-rest-client

Typescript HAL Rest client
Apache License 2.0
25 stars 11 forks source link

Bug from upgrade 0.4.1 -> 0.5.0 #41

Closed csigmanek closed 5 years ago

csigmanek commented 5 years ago

Backend is sending a response

embedded: { signal: { mysignal: "test" } }, links: { signal: "http://mysignal.de" }

Hal-Rest-Client is converting it: links: signal does exist props.signal: signal is undefined

deblockt commented 5 years ago

The lib doesn't work correctly when property have same name on embedded and links. It's a known bug. Maybe it will be fix on another version, but not now. Sorry