Table of Contents

Class QueryLayerIncludeConverter

Namespace
JsonApiDotNetCore.Queries.QueryableBuilding
Assembly
JsonApiDotNetCore.dll

Replaces all Includes with Selections in-place.

public sealed class QueryLayerIncludeConverter : QueryExpressionVisitor<QueryLayer, object?>
Inheritance
QueryLayerIncludeConverter
Inherited Members

Constructors

QueryLayerIncludeConverter(QueryLayer)

public QueryLayerIncludeConverter(QueryLayer queryLayer)

Parameters

queryLayer QueryLayer

Methods

ConvertIncludesToSelections()

public void ConvertIncludesToSelections()

VisitInclude(IncludeExpression, QueryLayer)

public override object? VisitInclude(IncludeExpression expression, QueryLayer queryLayer)

Parameters

expression IncludeExpression
queryLayer QueryLayer

Returns

object

VisitIncludeElement(IncludeElementExpression, QueryLayer)

public override object? VisitIncludeElement(IncludeElementExpression expression, QueryLayer queryLayer)

Parameters

expression IncludeElementExpression
queryLayer QueryLayer

Returns

object