public global::StrawberryShake.EntityId Parse(global::System.Text.Json.JsonElement obj) { global::System.String __typename = obj.GetProperty("__typename").GetString() !; return(__typename switch { _ => throw new global::System.NotSupportedException() }
public static global::StrawberryShake.EntityId CreateEntityId(global::System.Text.Json.JsonElement obj) { global::System.String typeName = obj.GetProperty("__typename").GetString() !; return(typeName switch { "Person" => CreatePersonEntityId(obj, typeName), _ => throw new global::System.NotSupportedException() });