Skip to content

Mongoose array discriminators do not render properties from the discriminated objects #58

@maxpeterson

Description

@maxpeterson

As far as I can tell this mongoose adapter does not include any support for Mongoose discriminators.

Is there a plan to add support for discriminators?
If not is there any interest in contributions towards adding support for discriminators?

The discriminator mapping (discriminatorKey) along with the property information for each discriminator type could be extracted from the Mongoose schema and stored on the Property.

Once available in the adminjs frontend the full set of properties could be determined using the discriminatorKey value for a recored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions