Entities should be unproxied before getting field values when indexing

Description

See https://discourse.hibernate.org/t/hibernate-search-6-advanced-mapping/2996

Ideally we should do that only when we know it's necessary, but we could start by just unproxying all the time, and optimize later.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Affects versions

6.0.0.Alpha8

Priority

Major