fortune icon indicating copy to clipboard operation
fortune copied to clipboard

How to extend an initialized store?

Open yostools opened this issue 5 years ago • 1 comments

Is there a way to change or extend a store after initialization by adding changed or new record type definitions?

yostools avatar Oct 05 '18 21:10 yostools

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.

gr0uch avatar Oct 10 '18 06:10 gr0uch