Skip to content

Add ArchRule that checks that the type of an exposed bean is not private #46688

@nosan

Description

@nosan

Spring AOT fails if the return type of a @Bean is private. I think it's worth adding an ArchRule to handle such cases.

For background, see #46675 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by anothertype: taskA general task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions