Skip to content

Commit

Permalink
#126 include even unknown fields into deserialized schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Husqvik committed Feb 4, 2023
1 parent 913a369 commit 0ce7715
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GraphQlClientGenerator/GraphQlIntrospectionSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public abstract class GraphQlTypeBase

public GraphQlTypeKind Kind { get; set; }
public string Name { get; set; }

[JsonExtensionData]
public IDictionary<string, object> Extensions { get; } = new Dictionary<string, object>(StringComparer.Ordinal);
}

public interface IGraphQlMember
Expand Down

0 comments on commit 0ce7715

Please sign in to comment.