Replies: 1 comment
-
Consider submitting a PR with your recommended approach showing:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the microsoft documention there are examples that show how to override some odata clauses on the server side. For example:
Source: MSDN: SelectExpand query
We can see that the
SelectExpandClause
is overriden. The problem is that automapper will use theSelectExpandClause
from theODataQueryOptions<T>
. This will prevent the example from working with automapper.My recommendation would be to change Automapper to access the clauses via the
IODataFeature
interface provided by the OData library.Beta Was this translation helpful? Give feedback.
All reactions