Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualProperties called after postSerialize triggers #216

Closed
scoolen opened this issue Nov 5, 2012 · 3 comments
Closed

VirtualProperties called after postSerialize triggers #216

scoolen opened this issue Nov 5, 2012 · 3 comments

Comments

@scoolen
Copy link

scoolen commented Nov 5, 2012

Hi,

It looks like a @VirtualProperty is handled after calls to @PostSerialize. Maybe this is intended behavior, but in my case it leads to unexpected results:

I rewrite a class' property to an array in PostSerialize and in a VirtualProperty method I depend on the property still being an instance of said class.

@schmittjoh
Copy link
Owner

@VirtualProperty properties are called just as regular properties before @PostSerialize as such I don't know how this could happen. Did you solve this, or do you still have this issue?

@scoolen
Copy link
Author

scoolen commented Jan 8, 2013

@schmittjoh In 0.9.0 yes, but I haven't had the chance to update to 1.0 unfortunately

@goetas
Copy link
Collaborator

goetas commented Apr 3, 2017

closing,
sorry for the incredibly long feedback loop. the issue seems to be solved long time ago. do not hesitate to re open a new issue if the problem persists

@goetas goetas closed this as completed Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants