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

Adding @Accessor with custom getter causes LogicException if Doctrine ManyToOneEntity #52

Closed
tomcyr opened this issue Mar 4, 2013 · 1 comment

Comments

@tomcyr
Copy link

tomcyr commented Mar 4, 2013

If I'm trying to use @Accessor(getter="getName") on Doctrine Entrity with type @Orm\ManyToOne works fine with version 0.9.0 but in ne version causes LogicException that is string not object.
Also namespace was changed from JMS\SerializerBundle\Annotation to JMS\Serializer\Annotation - why this is not compatible ?

@schmittjoh
Copy link
Owner

It's an noble quest striving to add new features and maintaining backwards compatibility at the same time, and regardless of how hard you try, sometimes you simply fail to achieve it.

All I can say is, please see the UPGRADING file for instructions on how to adjust your project.

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

2 participants