Closed thomas-thomas-tfs closed 3 years ago
You should be able to specify this via the @config
decorator, since the persistence provider is actually saved in a configuration table. The syntax would look like this:
@config({
DataThingSettings: { persistenceProvider: 'MyPersistenceProvider' }
})
@ThingDefinition class MyStream extends Stream<MyDataShape> {
// class members...
}
how to mention persistence provider to be used for streams and value stream