Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Is there a proper way to extend JsonDiscriminatorAttribute? #104

@plamber

Description

@plamber

Hello,
we have the necessity to extend the JsonDiscriminatorAttribute class with additional properties that we would like to read in the TryRegisterType method of a custom IDiscriminatorConvention.

The aim is to pass some additional attribute values and take decisions in the TryRegisterType method.

Do you have some suggestions how this could be achieved?

Thank you,
Patrick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions