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 String rule #4

Open
joshcummingsdesign opened this issue Feb 3, 2023 · 1 comment
Open

Add String rule #4

joshcummingsdesign opened this issue Feb 3, 2023 · 1 comment

Comments

@joshcummingsdesign
Copy link
Contributor

Add string rule for non-request use cases.

@JasonTheAdams
Copy link
Contributor

The rule should validate that the value is either a primitive or object with __toString() and then sanitize (cast) it to a string.

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

2 participants