Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Aug 24, 2022

fixes #630

The 'defaults' option in the route configuration is targetted at URL parameters only, but not GET parameters. The dev docs state:

defaults (Optional): If this setting is given, a default value will be assumed for each URL parameter which is not present. The default values are passed in as a key => value par array

Therefore the defaults need to be written into the Controller method's signature.

@blizzz

This comment was marked as resolved.

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple IDP broken since 5.0.2

4 participants