FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor(database): improve limit method validation in Query Builder by huangdijia · Pull Request #7208 · hyperf/hyperf · GitHub

/ hyperf Public

refactor(database): improve limit method validation in Query Builder - #7208

Merged
limingxinleo merged 6 commits into
hyperf:3.2from
huangdijia:patch-limit-parameter
Mar 6, 2025
Merged

refactor(database): improve limit method validation in Query Builder#7208
limingxinleo merged 6 commits into
hyperf:3.2from
huangdijia:patch-limit-parameter

Conversation

Copy link
Copy Markdown
Member
  • Add type casting of limit value to integer
  • Add explicit validation for negative limit values
  • Throw InvalidArgumentException for negative limits
  • Simplify control flow logic

huangdijia added this to the v3.2 milestone Dec 14, 2024
- Add type casting of limit value to integer
- Add explicit validation for negative limit values
- Throw InvalidArgumentException for negative limits
- Simplify control flow logic
huangdijia force-pushed the patch-limit-parameter branch from 67d150a to 195f2a5 Compare February 5, 2025 12:37
huangdijia changed the base branch from master to 3.2 February 5, 2025 12:38
huangdijia marked this pull request as ready for review February 5, 2025 12:38
limingxinleo merged commit d4ec3b7 into hyperf:3.2 Mar 6, 2025
huangdijia deleted the patch-limit-parameter branch March 6, 2025 05:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL