Skip to content

JsonNameAttribute has invalid targets #195

@Tarmil

Description

@Tarmil

F# 9 now enforces attribute targets that previous versions ignored. In particular, to be able to be used on union cases, an attribute must target both Property (for field-less cases) and Method (for cases with fields).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions