I have bumped into this issue in the process of up...
# questions
m
I have bumped into this issue in the process of upgrading Grails to Groovy 4: https://github.com/grails/grails-core/issues/10308#issuecomment-2134702655 Any comments how to best proceed?
The javadoc for `DefaultUrlMappingEvaluator.UrlmappingBuilder.collection(...)`states: Define Url mapping collections that are nested directly below the parent resource (without the id) So that suggests that
/g/bars/baz
rather than
/g/bars/${barId}/baz
is the correct mapping for a collection in a group, that the test is wrong, and that Groovy 4 (coincidentally or not) does the right thing.