Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Custom JSON formatting attributes on models are ignored #18

Open
GraemeF opened this issue Aug 17, 2015 · 2 comments
Open

Custom JSON formatting attributes on models are ignored #18

GraemeF opened this issue Aug 17, 2015 · 2 comments
Assignees

Comments

@GraemeF
Copy link

GraemeF commented Aug 17, 2015

This is because in order to add the HAL objects to the model it is converted to a dynamic, so when it comes to serialization time there is no class definition to read custom serialization attributes from.

Not a major issue, but thought it was worth mentioning somewhere as it took me a while to realise why they weren't having effect!

@drewfreyling
Copy link
Contributor

+1 this needs fixing

@danbarua
Copy link
Collaborator

This might need a change to how we approach things - as implemented, it is serialiser-agnostic, it simply swaps your model out for a dynamic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants