Use SelectExpandQueryOption.ApplyTo #232
NetanelPersik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OData exposes the ability for consumers to translate an OData $select or $expand parse tree represented by SelectExpandClause
example Microsoft.AspNetCore.OData.Query.Expressions.SelectExpandBinder
It means it is possible to intercept (using ExpressionVisitor for instance) and manipulate the Expression
Can we use SelectExpandQueryOption.ApplyTo to get selects and then do all sorts of custom logic?
we are doing something similar with filter in LinqExtensions.ToFilterExpression
Beta Was this translation helpful? Give feedback.
All reactions