Skip to content

Activate transformer value.to to parse data outgoing to DB #1038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stegerma opened this issue Feb 25, 2025 · 0 comments
Open

Activate transformer value.to to parse data outgoing to DB #1038

stegerma opened this issue Feb 25, 2025 · 0 comments

Comments

@stegerma
Copy link

Hi,

We have a use case in which we would like to protect arbitrary text values writen by our endusers from being registred into the database from reserved characters (notably "new line" \n).
However it seems that feature transform.value.to is forcefully unactivated in the library while transform.value.from can be used.
Unfortunately since user can edit previously registred value we need both transformers to be set in order to maintain consistency.

Could transform.value.to be available in the same way transform.value.from is ?
Thanks.

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

No branches or pull requests

1 participant