You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our application uses ActiveRecord::Store, but Tapioca does not support it, so we had to write a shim. I began investigating adding it, but while looking for where to implement it I discovered we support ActiveRecord::TypedStore.
Before I go any further, I'd like to establish the project's stance:
Are we open to supporting ActiveRecord::Store, or
do we recommend consumers use ActiveRecord::TypedStore instead?
I should note that I only found out about TypedStore because I looked into adding support for Store. If we prefer one over the other, we could, for example, log a message if we detect the host app uses ActiveRecord::Store advising they switch.
The text was updated successfully, but these errors were encountered:
As far as I can tell, the TypedStore compiler doesn't support things like prefix and suffix, presumably because those aren't persisted anywhere on the object. ActiveRecord::Store has the same limitation -- is it ok to add an ActiveRecord::Store compiler that only support basic usage without prefix/suffix/etc?
Our application uses
ActiveRecord::Store
, but Tapioca does not support it, so we had to write a shim. I began investigating adding it, but while looking for where to implement it I discovered we supportActiveRecord::TypedStore
.Before I go any further, I'd like to establish the project's stance:
ActiveRecord::Store
, orActiveRecord::TypedStore
instead?I should note that I only found out about
TypedStore
because I looked into adding support forStore
. If we prefer one over the other, we could, for example, log a message if we detect the host app usesActiveRecord::Store
advising they switch.The text was updated successfully, but these errors were encountered: