Skip to content

Commit

Permalink
Reorder TryDeserializeContext attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardobragaxz committed Dec 15, 2023
1 parent eb2adf6 commit b7ac526
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Mastonet/TryDeserializeContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@ namespace Mastonet;

[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
[JsonSerializable(typeof(Status))]
[JsonSerializable(typeof(MastodonList<Status>))]
[JsonSerializable(typeof(Context))]
[JsonSerializable(typeof(List))]
[JsonSerializable(typeof(Attachment))]
[JsonSerializable(typeof(Card))]
[JsonSerializable(typeof(Poll))]
[JsonSerializable(typeof(Context))]
[JsonSerializable(typeof(MastodonList<Status>))]
[JsonSerializable(typeof(IEnumerable<Tag>))]
[JsonSerializable(typeof(IEnumerable<Emoji>))]
[JsonSerializable(typeof(Account))]
[JsonSerializable(typeof(IEnumerable<List>))]
[JsonSerializable(typeof(Conversation))]
[JsonSerializable(typeof(Filter))]
[JsonSerializable(typeof(IdentityProof))]
[JsonSerializable(typeof(Instance))]
[JsonSerializable(typeof(InstanceV2))]
[JsonSerializable(typeof(List))]
[JsonSerializable(typeof(Instance))]
[JsonSerializable(typeof(List<Account>))]
[JsonSerializable(typeof(Marker))]
[JsonSerializable(typeof(Notification))]
Expand All @@ -41,17 +44,14 @@ namespace Mastonet;
[JsonSerializable(typeof(MastodonList<Notification>))]
[JsonSerializable(typeof(MastodonList<Report>))]
[JsonSerializable(typeof(MastodonList<Conversation>))]
[JsonSerializable(typeof(IEnumerable<Relationship>))]
[JsonSerializable(typeof(IEnumerable<Account>))]
[JsonSerializable(typeof(IEnumerable<Activity>))]
[JsonSerializable(typeof(IEnumerable<Announcement>))]
[JsonSerializable(typeof(IEnumerable<Emoji>))]
[JsonSerializable(typeof(IEnumerable<FeaturedTag>))]
[JsonSerializable(typeof(IEnumerable<Filter>))]
[JsonSerializable(typeof(IEnumerable<List>))]
[JsonSerializable(typeof(IEnumerable<Relationship>))]
[JsonSerializable(typeof(IEnumerable<ScheduledStatus>))]
[JsonSerializable(typeof(IEnumerable<string>))]
[JsonSerializable(typeof(IEnumerable<Tag>))]
[JsonSerializable(typeof(IdentityProof))]
internal partial class TryDeserializeContext : JsonSerializerContext
{
Expand Down

0 comments on commit b7ac526

Please sign in to comment.