我可以在没有 activerecord 的情况下使用 hyperstack 吗?

Can I use hyperstack without activerecord?

我使用 rethinkdb 和 nobrainer 作为我的 ODM。 Hyperstack 会与我的模型同步吗?即后端数据库和前端之间的状态同步?

截至目前,HyperStack/HyperModel 直接依赖于 ActiveRecord,因此如果不同时使用 ActiveRecord,则无法真正利用此库。

摘自 hyper-model.gemspec

spec.add_dependency 'activerecord', '>= 4.0.0'

这似乎是由于 ActiveRecord API 绑定:https://hyperstack.org/edge/docs/dsl-isomorphic/models#activerecord-api

Hyperstack uses a subset of the standard ActiveRecord API to give your Isomorphic Components, Operations and Stores access to your server side Models. As much as possible Hyperstack follows the syntax and semantics of ActiveRecord.