Skip to the content.

< Back


QueryOptions

Namespace: GraphQL.Query.Builder

The query options class.

public class QueryOptions

Inheritance ObjectQueryOptions

Properties

Formatter

Gets or sets the property name formatter.

public Func<PropertyInfo, string>? Formatter { get; set; }

Property Value

Func<PropertyInfo, String>

QueryStringBuilderFactory

Gets or sets the query string builder factory.

public Func<IQueryStringBuilder>? QueryStringBuilderFactory { get; set; }

Property Value

Func<IQueryStringBuilder>

DefaultIgnoreCondition

Gets or sets the condition under which properties with null or default values are ignored during serialization. Defaults to QueryIgnoreCondition.Never.

public QueryIgnoreCondition DefaultIgnoreCondition { get; set; }

Property Value

QueryIgnoreCondition

Constructors

QueryOptions()

public QueryOptions()

< Back