We have a enterprise level OData REST service with large data model. It exposes all endpoints to retrieve and update data.

We are now building a single page application for a small subset of data model potentially used by many users.

  1. Is it ok to consume enterprise OData service directly from web application OR

  2. Create a new intermediate REST service with required functionality from the enterprise OData

I need some inputs to choose an approach.

With option1, is it a concern to have many clients connect to OData directly where as in intermediate service we can share the httpclient.