Type: New Feature
Affects Version/s: None
Fix Version/s: None
With our initial API we have an endpoint for querying each individual datasource. But one of the big motivations behind Membrane is to provide data federation, not just regular data access via HTTP. A way we should expose this functionality is by allowing the end user to fire queries towards multiple datasources in one go.
Technically speaking we have all the building blocks already, I think. The CompositeDataContext can be used to combine datasources at query time. We just need to find a nice way to expose the functionality. I see two ways:
- Allowing the user to create composite datasources that you can then query using our existing query endpoint.
- A new query endpoint that is not bound to any datasource. It would thus imply all datasources available.