You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/08/30 01:39:03 UTC
[GH] (grails-core/feat/wildcard-resources-mapping): Workflow run "CI" failed!
The GitHub Actions job "CI" on grails-core.git/feat/wildcard-resources-mapping has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).
Head commit for run:
e597f9740ad5cefeb40e3c116b2f1880583e8349 / Scott Murphy Heiberg <sc...@alwaysvip.com>
Support mapping every controller as a REST resource
An application whose controllers all follow the RESTful resource
conventions had to declare a resources mapping per controller, or
hand-write the eight equivalent method-prefixed mappings. The first
grows the mapping table with the controller count; the second copies a
framework convention into application code, where it drifts when the
convention changes.
Passing '*' as the resources argument now generates the eight mappings
once and leaves the controller to be resolved from the URL's own capture
when a request is matched, which the existing runtime constraint
evaluator already supports. includes, excludes and group prefixes
compose as they do for a named resource.
Because the controller is not known until a request is matched, two
cases are rejected when the mappings are evaluated rather than left to
produce mappings that cannot match: a URL that does not capture the
controller, and a nested child resource, which would otherwise build a
constraint named "nullId".
Report URL: https://github.com/apache/grails-core/actions/runs/33282130112
With regards,
GitHub Actions via GitBox