Skip to content
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

Add to_atom_in to Validations #4891

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

JohnJocoo
Copy link
Contributor

Add a small utility library that contains to_atom_in macro that converts String to atom only if resulting atom is in set of atoms provided.
Useful for validations of request parameters.

@simonewebdesign simonewebdesign merged commit 1cab63a into h4cc:master Dec 9, 2024
1 check passed
@simonewebdesign
Copy link
Collaborator

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

Successfully merging this pull request may close these issues.

2 participants