Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pedrofs
Copy link

@pedrofs pedrofs commented Sep 15, 2025

I'm using the prop_transformer to maintain a clear naming convention between React and Rails: React is camelCase and Rails is snake_case.

Unfortunately, I faced an inconsistency when trying to work with the InertiaRails.merge functionality. See #266 .

This PR introduces the merge_prop_transformer configuration, similar to the prop_transformer. It'll receive the array of merge keys, and you can transform them as you wish.

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

Successfully merging this pull request may close these issues.

1 participant