jspuij / RESTier

A turn-key library for building RESTful services
http://odata.github.io/RESTier
Other
2 stars 0 forks source link

Add a reference to ApiBase to InvocationContext. #10

Closed jspuij closed 5 years ago

jspuij commented 5 years ago

The context classes provide context to a single API call. In case we want to reference the ApiBase instance for this api call, why not create a property on the InvocationContext. This way we can replace all the calls to GetApiService().

This is part of https://github.com/OData/RESTier/issues/629.