Closed LordTermor closed 1 month ago
@LordTermor , I have actually been thinking about this a couple of days ago. I agree that the way I would expect this to behave is for rfl::Rename
to override the processor instead of the other way around. But currently that is not the way it behaves. I think I can change that, though.
@LordTermor , if you now check out the main branch, it will behave as expected, with Rename overriding the processor. I will do a release over the weekend which will include this as well.
Is it possible to force snake_case for some fields even when
rfl::SnakeCaseToCamelCase
is used?Having something like this:
still makes field's name to be camel case.