Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grails 7: grails-testing-support remove beanExcludes #432

Closed
jamesfredley opened this issue Sep 29, 2024 · 2 comments · Fixed by #435
Closed

Grails 7: grails-testing-support remove beanExcludes #432

jamesfredley opened this issue Sep 29, 2024 · 2 comments · Fixed by #435
Assignees

Comments

@jamesfredley
Copy link
Contributor

jamesfredley commented Sep 29, 2024

beanExcludes isn't used anymore, and can be removed. It was used for configuring the Micronaut context.

#430 (comment)

@codeconsole
Copy link
Contributor

        def beanExcludes = [ConversionService, Environment, PropertyResolver, ConfigurableEnvironment]
        def objectMapper = ClassUtils.forName('com.fasterxml.jackson.databind.ObjectMapper', context.getClassLoader())
        if (objectMapper) {
            beanExcludes.add(objectMapper)
        }

@codeconsole
Copy link
Contributor

#435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants