#Can components be created in runtime?

5 messages · Page 1 of 1 (latest)

rough sun
#

Wondering if components can be created on the fly per HTTP request or so?

clever comet
#

no not currently. but components can be designed to be namespaced - e.g. the aggregate component can have an aggregate per user / etc.
Generally having a field for the namespace and prefixing indexes with that field goes pretty far

rough sun
#

I’ll try this out, thanks.

tidal ingot
#

Yes would love to be able to have a Sharded Counter get created at run time. Currently finding the aggregate component too slow to patch

clever comet
#

the ShardedCounter can already be dynamic - you can pass a dynamic key - you want something like namespace for sharded counter?