fortune
fortune copied to clipboard
How to extend an initialized store?
Is there a way to change or extend a store after initialization by adding changed or new record type definitions?
Hi, sorry for delay. Yes, I would recommend calling store.disconnect
, changing the record type definitions on store.recordTypes
, then reconnecting with store.connect
. Reconnecting isn't really necessary, just advised for some adapters that may need setup like Postgres. You could just modify store.recordTypes
without doing that. I am curious what the use case may be.