Skip to content

JsonNameAttribute has invalid targets #195

Closed

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).

Activity

  1. added a commit that references this issue on Dec 24, 2024
  2. Lanayx commented on Feb 10, 2025

    @Lanayx

    When can this be released?

  3. Tarmil commented on Jun 14, 2025

    @Tarmil
    OwnerAuthor

    This is released in v1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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