Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Jan 30, 2024

Given a minimal class declaration for a resolver:

[CompositeResolver(typeof(NativeGuidResolver), typeof(NativeDecimalResolver))]
partial class MyGeneratedCompositeResolver
{
}

The attribute will fill in the resolver using the FormatterCache<T> pattern for maximum performance, filling in the actual formatter responses using the list of resolvers provided to the attribute's constructor.

Closes #1699

Given a minimal class declaration for a resolver:

```cs
[CompositeResolver(typeof(NativeGuidResolver), typeof(NativeDecimalResolver))]
partial class MyGeneratedCompositeResolver
{
}
```

The attribute will fill in the resolver using the `FormatterCache<T>` pattern for maximum performance, filling in the actual formatter responses using the list of resolvers provided to the attribute's constructor.

Closes #1699
@AArnott AArnott added this to the v3.0 milestone Jan 30, 2024
@AArnott AArnott requested a review from neuecc January 30, 2024 05:44
Copy link
Member

@neuecc neuecc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, thanks!

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

Successfully merging this pull request may close these issues.

2 participants