Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reconsider placement of GeneratedMessagePackResolverAttribute.UseMapMode property #2008

Copy link
Copy link
Closed as not planned
@AArnott

Description

@AArnott
Issue body actions

In the v3 prerelease, if you want to force map mode for all source generated formatters, you have to set a property on the GeneratedMessagePackResolverAttribute:

This feels... odd. Both because it changes formatter behavior but is on a resolver attribute, and because it requires the user to declare a partial class for the source generated resolver, which otherwise the user almost never has to know about.

How about we move this property to a new assembly-level attribute where this and potentially other formatter-defaults (such as the one proposed in #1953) can be specified?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.