DoctrineExtensions icon indicating copy to clipboard operation
DoctrineExtensions copied to clipboard

Feature/serializer support for traits

Open johnkhansrc opened this issue 3 years ago • 1 comments

Hello

I propose this PR to allow the use of Traits in contexts using Symfony Serializer, for example when using API Platform.

I made sure that all the tests passed, and I added tests to validate the concept.

johnkhansrc avatar Mar 17 '22 15:03 johnkhansrc

Hi @johnkhansrc, thanks for submitting the PR, but I don't think we should add support for these groups.

IMHO these traits are basic code that you can more or less use, but once you need to change something you should use your own traits. It's always better if your model data does not depend on an external package.

Having said that, IMO we should keep traits simple.

franmomu avatar Mar 18 '22 16:03 franmomu

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 22 '23 09:01 github-actions[bot]