You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2025/11/03 16:30:10 UTC

[PR] fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied [grails-core]

jdaugherty opened a new pull request, #15202:
URL: https://github.com/apache/grails-core/pull/15202

   RenderTagLib should be just as accessible as ApplicationTagLib, etc.  Otherwise, users have to include internal grails packages (grails-web-gsp-taglib)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied [grails-core]

Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15202:
URL: https://github.com/apache/grails-core/pull/15202#issuecomment-3481518347

   I'm registering it in unit tests, and it's no longer exposed on the classpath like it was previously and like the other gsp tag libs are.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied [grails-core]

Posted by "matrei (via GitHub)" <gi...@apache.org>.
matrei commented on PR #15202:
URL: https://github.com/apache/grails-core/pull/15202#issuecomment-3481480676

   > RenderTagLib should be just as accessible as ApplicationTagLib, etc. Otherwise, users have to include internal grails packages (grails-web-gsp-taglib)
   
   How are you using `RenderTagLib`, that does not work at the moment?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied [grails-core]

Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15202:
URL: https://github.com/apache/grails-core/pull/15202#issuecomment-3486325732

   @matrei  Let's discuss further in the weekly?  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied [grails-core]

Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty merged PR #15202:
URL: https://github.com/apache/grails-core/pull/15202


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied [grails-core]

Posted by "matrei (via GitHub)" <gi...@apache.org>.
matrei commented on PR #15202:
URL: https://github.com/apache/grails-core/pull/15202#issuecomment-3482340055

   > I'm registering it in unit tests, and it's no longer exposed on the classpath like it was previously and like the other gsp tag libs are.
   
   Then, in my view, you are explicitly using it in your test implementation and should declare it in the `testImplementation` configuration.
   
   `@Taglib` is a runtime retention annotation and annotated classes are not needed on the application compile classpath. The other taglibs are available only because they are in `grails-gsp` and `grails-gsp` must be on the compile classpath as it has the `ControllerTagLibraryTraitInjector` transformation.
   
   I'm not going to stop this from being merged, but I think we should be restricting our dependency graphs instead of opening them up, to be able to reduce coupling going forward.
   
   One solution would be to add `grails-web-gsp-taglib` as an API dependency in `grails-testing-support-web` (with an explaining comment).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org