symphonists / uniondatasource

A union datasources allows you to combine multiple datasources to output a single datasource for the primary purpose of a unified pagination.
13 stars 11 forks source link

Parent Data Sources #38

Closed nilshoerrmann closed 10 years ago

nilshoerrmann commented 10 years ago

It would be nice if the name/handle of the parent Data Source was available in the XML (not just the source section).

brendo commented 10 years ago

What's the use case? I could output the nodes of the datasources executed fairly easily, but I imagine what would be more useful is knowing what datasource caused the entry to be in the output... which is another story altogether. Because Union Datasource combines multiple datasource queries and hits the server with just one SQL query, I'm unable to determine why the entry was returned.

nilshoerrmann commented 10 years ago

I have two sections with three data sources on a site:

This distinction is not neccesary of course but we use the Twitter and Facebook data sources in other contexts as well so it just happends that I united two data sources from the same section.

If this feature cannot be added easily (that's how it sounds), scratch this idea.