-
-
Notifications
You must be signed in to change notification settings - Fork 25
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 RouteArgument
attribute for Yii Hydrator
#203
Conversation
vjik
commented
May 15, 2023
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ✔️ |
Breaks BC? | ❌ |
Fixed issues | - |
PR Summary
|
Route
attribute for Yii HydratorRoute
attribute for Yii Hydrator
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #203 +/- ##
============================================
+ Coverage 95.54% 95.66% +0.12%
- Complexity 174 181 +7
============================================
Files 14 16 +2
Lines 561 577 +16
============================================
+ Hits 536 552 +16
Misses 25 25 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Alexander Makarov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Route
is a wrong name for this kind of attribute.
Route
is already reserved for routing: the class and coming attribute as well.
I suggest you think about RouteAttribute
or something similar. Do not confuse developers with one more Route
entity.
Route
attribute for Yii HydratorRouteArgument
attribute for Yii Hydrator
# Conflicts: # composer-require-checker.json # composer.json
Why is it |
In router, this is called "arguments": Line 112 in 0892cbe
|
# Conflicts: # composer.json
(cherry picked from commit f3f1091)