Open krzysztof-ciszewski opened 7 years ago
I'm not sure about that. This is just library and we shouldn't restrict configuration, for example you can use https://github.com/schmittjoh/JMSSerializerBundle.
It's my opinion, what do you think @Kryniol ?
@krzysztofc-xsolve Do you mean to switch to yaml or xml instead of using annotations?
@Kryniol yes, sorry, I wasn't clear enough. @adrianwaler that's exactly why you should move serialization outside the class itself.
Consider moving serialization configurations into it's own file, in my opinion it would make the code and the configuration itself more readable.