Skip to content

Allow dynamic columns #225

@skorphil

Description

@skorphil

Is your feature request related to a problem? Please describe.
I have data structure with dynamic properties (some of them are constant, but others can be anything)
Currently tinyBase do not support this:

export const persistentStateStore =
createStore().setTablesSchema(tinyBasePersistentStoreSchema);

persistentStateStore.setTables({
appState: {currentJournalDirectory:
{
newProperty: "test", // Object literal may only specify known properties, and 'test' does not exist in type
selectedCurrency: "usd"
}}
})

Describe the solution you'd like
Allow dynamic columns

Metadata

Metadata

Assignees

Labels

more info requiredCould you answer a few extra questions to clarify?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions