-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
'public_method' access requires redundant property in class #280
Comments
Having read the documentation here: http://jmsyst.com/libs/serializer/master/reference/annotations#accessor I guess this is expected behaviour. It just seems a bit redundant to set a property that is not required - however I'll move to close this issue as it's not a big deal. |
What you need for your use case is |
@schmittjoh |
Thanks stof - this is absent from the documentation - but for anyone else reading the relevant PR is here: If I get time I'll make a PR to update the docs Edit: x-posted |
@stof, no, that is not intended :) On Mon, Mar 18, 2013 at 4:06 PM, Christophe Coevoet <
|
I'm finding that with a configuration like so:
The serialized entity does not contain this 'computed' property - unless I add the named property to my class..
eg This works:
And this doesn't
The text was updated successfully, but these errors were encountered: