micronaut-projects / micronaut-data

Ahead of Time Data Repositories
Apache License 2.0
464 stars 195 forks source link

Cannot use criteria API with MongoDB when field is an embedded collection #2934

Open meriouma opened 4 months ago

meriouma commented 4 months ago

Expected Behavior

Everything is described in this discussion

Actual Behaviour

Using a @Relation(Relation.Kind.EMBEDDED) on a List field throws an error that List is not annotated with @Embeddable.

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

4.4.2