Fetches all data needed to formulate a response to the query.
Fetches all data needed to formulate a response to the query.
TODO: Consider returning an Either[Set[Errors], Future[Response]]
instead for more structured validation errors
The resource request to execute.
A future of all available data needed to construct a response to the query. It is up to the presentation layer to turn that into the response format as required.
The engine layer presents this EngineAPI to the presentation layer. The engine layer handles query validation, execution planning & optimization, and finally orchestrates the fetching of data by leveraging the FetcherApi.
Engine's must be threadsafe as they are called from multiple threads simultaneously.