JMSSerializerBundle icon indicating copy to clipboard operation
JMSSerializerBundle copied to clipboard

[IMPROVEMENT] Official documentation does not tell how to swtich to camelCase from snake_case.

Open yyaremenko opened this issue 4 years ago • 4 comments

I have to search Internet to get to know how to switch to camelCase from the default snake_case. This is probably the very first thing many developers are looking for, and don't find it in the official documentation. This should be fixed.

Even more, because of the current bug, the implemented solution does not work right away.

yyaremenko avatar Feb 12 '21 13:02 yyaremenko

hi, thanks for reporting the issue. can you please create a PR with the suggestion in https://github.com/schmittjoh/JMSSerializerBundle/issues/734#issuecomment-791621841 (if it works for you)

goetas avatar Mar 07 '21 19:03 goetas

@goetas please have a look and accept if you have no objections https://github.com/schmittjoh/JMSSerializerBundle/pull/847

yyaremenko avatar Mar 25 '21 15:03 yyaremenko

Was this ever solved?

AFAICT, it wasn't and it blows my mind something this basic is not clearly stated in the docs first thing. I spent at least half an hour today just to arrive to this series of entries in GitHub where I found how to do it and the discussion around it.

aruku avatar Aug 22 '21 18:08 aruku

Nope it wasn't. Have a look at the "closed" issue to know why.

yyaremenko avatar Aug 22 '21 19:08 yyaremenko