nsftx / chameleon-sdk

Chameleon Software Development Kit
MIT License
12 stars 2 forks source link

Change how is source merged when loading data #89

Closed Lanchi closed 5 years ago

Lanchi commented 5 years ago

connector.sources[this.dataSource.id] is source object from app connector instance. It needs to be merged with source that is saved on component. meta is added so connectors like generic can have it applied from component data source since they don't have it on app connector instance level. Chameleon Data connectors should benefit from this, since meta that gets saved on component can have newer schema version than the one saved on app connector instance level, and it that case, newer version should be applied.