Introspecting indexes on embedded documents leads to validation error #12449
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: mongodb
topic: validation
Milestone
Currently indexes on fields of embedded documents lead to creation of a not really existing field in the parent model, and an index on that. The index uses a dot in its name, which is not allowed right now.
This should go away when we actually support indexes on embedded document fields via #10101
Underlying models:
The text was updated successfully, but these errors were encountered: