Visitar URL original
Provides SourceGenerator option from AdditionalFiles · Issue #1650 · MessagePack-CSharp/MessagePack-CSharp · GitHub
Skip to content

Provides SourceGenerator option from AdditionalFiles #1650

Closed

Description

@neuecc

Source Generator in Unity, can not provide option from AnalyzerConfigOptions so can not configure any options.
If you want to deprecated mpc (which I agree with), we must provide configuration for Unity.

MemoryPack has made that mistake and is currently unable to provide the option from Unity, despite requests.
Cysharp/MemoryPack#133

However, Unity supports AdditionalFiles.
Usage differs from the standard .NET, probably in two ways.

My suggestion would be to allow the settings to be described in JSON and include that in Parse as well.

Activity

  1. self-assigned this
    on Aug 12, 2023
  2. added this to the v2.6 milestone on Aug 12, 2023
  3. added 3 commits that reference this issue on Aug 13, 2023
    56bc028
    611cc05
    34cf58f
  4. added 2 commits that reference this issue on Aug 14, 2023
    25942aa
    ce0c7ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions