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

[11.x] add list rule #50454

Merged
merged 3 commits into from
Mar 12, 2024
Merged

[11.x] add list rule #50454

merged 3 commits into from
Mar 12, 2024

Conversation

medilies
Copy link
Contributor

When I want my API to receive a JSON array, the current array rule allows both JSON arrays and JSON objects. With this list rule, I can be sure I will receive [1, 2, 3] instead of {"a": 1, "b": 2, "c": 3}.

Redirection from #50437 (comment)

@taylorotwell taylorotwell merged commit 441fd20 into laravel:11.x Mar 12, 2024
30 checks passed
@medilies medilies deleted the 11.x-add-list-rule branch March 12, 2024 21:48
henzeb added a commit to henzeb/prompts-extras that referenced this pull request Mar 13, 2024
@taylorotwell
Copy link
Member

Could you send a PR to laravel/docs for this?

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.

None yet

2 participants