public void IntrospectionWithSubscription() { // arrange var features = new SchemaFeatures { HasSubscriptionSupport = true }; // act DocumentNode document = IntrospectionClient.CreateIntrospectionQuery(features); // assert QuerySyntaxSerializer.Serialize(document).MatchSnapshot(); }
public void IntrospectionWithoutDirectiveIsRepeatableField() { // arrange var features = new SchemaFeatures { HasRepeatableDirectives = false }; // act DocumentNode document = IntrospectionClient.CreateIntrospectionQuery(features); // assert QuerySyntaxSerializer.Serialize(document).MatchSnapshot(); }
public void IntrospectionWithDirectiveLocationField() { // arrange var features = new SchemaFeatures { HasDirectiveLocations = true }; // act DocumentNode document = IntrospectionClient.CreateIntrospectionQuery(features); // assert QuerySyntaxSerializer.Serialize(document).MatchSnapshot(); }