Skip to content

Allow to access record value, filled by user in form/API, to be exposed in validation messages#201

Open
pedrofurtado wants to merge 1 commit intoadzap:masterfrom
pedrofurtado:patch-1
Open

Allow to access record value, filled by user in form/API, to be exposed in validation messages#201
pedrofurtado wants to merge 1 commit intoadzap:masterfrom
pedrofurtado:patch-1

Conversation

@pedrofurtado
Copy link
Contributor

Hello, @adzap ! 👋

This PR has the goal to allows access record value, filled by user in form/API, to be exposed in validation messages 👍

Let me know your thoughts about it. I can provide later, once merged, this value in gem documentation and in timeliness-i18n gem ( https://github.com/pedrofurtado/timeliness-i18n ).

c/c: @marciojg 🤝 🤓

@adzap
Copy link
Owner

adzap commented Oct 20, 2022

I like this idea and wish it was in all attribute level validations. Is there any precedent of this anywhere else?

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.

2 participants