Skip to content

Route config function #3277

@hueniverse

Description

@hueniverse

Allow route config to be a function in order to have access to server configuration within route properties. For example, setting a route validation rule that uses server config. This just makes it prettier to do what people are already doing, wrapping route config in a function and passing in the server or other properties to the factory function.

Metadata

Metadata

Assignees

Labels

featureNew functionality or improvement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions