Skip to content

@Reflective not always considered on domain types #3387

@odrotbohm

Description

@odrotbohm

The decision whether @Reflective annotations on domain types are evaluated currently depends on whether AotTypeConfiguration.forDataBinding() is activated (evaluated in ContextualTypeConfiguration.doContribute(…)). For example, JPA redeclares JpaRepositoryRegistrationAotProcessor.configureTypeContribution(…) and does not enable the data binding flag.

I think it makes sense to separate the registration of the binding reflection hints from the general inspection of @Reflective annotations on domain types.

Metadata

Metadata

Labels

theme: aotAn issue related to Ahead-Of-Time processingtype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions