Skip to content

Allow using single-case unions as dictionary keys #161

@Tarmil

Description

@Tarmil

For all cases where we allow single-case unions as map keys, we should also allow them as dictionary keys.

Dictionaries are handled directly by System.Text.Json, but since .NET 6 we can customize its handling of keys using JsonConverter.Write/ReadAsPropertyName.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions