EnableUnqualifiedNameCall not usable if you don't also use MapODataServiceRoute
We'd like to use EnableUnqualifiedNameCall() but it is currently not possible in our scenario. It works by setting an internal property on DefaultODataPathHandler, but this only happens in MapODataServiceRoute. We don't use MapODataServiceRoute because we need to initialize the ODataRoute with an instance of a custom class derived from ODataPathRouteConstraint.
I can see two ways to enable this:
- Make
DefaultODataPathHandler.ResolverSettingspublic. - Add a new overload of
MapODataServiceRoutethat takes anODataPathRouteConstraintparameter.
Any thoughts on which approach is better?
You do not need to wait, if you do not mind to use a hack. Can you try using reflections to update the property ResolverSettings
Closing this issue due to inactivity. If this still affects the latest versions of the library, kindly open a new issue.