You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resources @uri /resource/:id/:childId are handled incorrectly
Scenario:
I have a resource with: @uri /resource/:id/:childId
And a handler
public function put( $id, $childId = '' ) {}
Do a request /resource/1/
Expected behavior:
Variables $id is equal to "1", variable $childId is equal to empty string ''
But the recent commit (4f6f9f0) break this, and we got these values:
$id = 1, $childId = 1.
The text was updated successfully, but these errors were encountered:
resources @uri /resource/:id/:childId are handled incorrectly
Scenario:
I have a resource with:
@uri /resource/:id/:childId
And a handler
public function put( $id, $childId = '' ) {}
Do a request /resource/1/
Expected behavior:
Variables $id is equal to "1", variable $childId is equal to empty string ''
But the recent commit (4f6f9f0) break this, and we got these values:
$id = 1, $childId = 1.
The text was updated successfully, but these errors were encountered: