-
Notifications
You must be signed in to change notification settings - Fork 802
ES as primary data store #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've started work on the "persistence" layer for this, it's not yet finished, ETA in couple of weeks. There's a discussion in #4. |
Great! |
The working version of the repository pattern implementation added in #71. |
Great work there! A question though, what is the use case for each pattern? I really wish the DSL mimics something like mongoid's. |
The notation you have originally described is indeed typical for the ActiveRecord-like patterns. That is not yet implemented, so if you want to do that, you have to wait for it to be coded (should be released in couple of weeks). |
Thanks. Is the ActiveRecord pattern implemented on top of the Repository Pattern? I still don't understand the use case of the Repository Pattern. |
Ah, one more thing. Will the AR like pattern use ActiveModel and works seamlessly with form helper etc? Thanks. |
Yes, that's the main motivation, to be a drop-in replacement for |
This look really nice, thank you! |
Closing this, let's centralize the discussion in #78. |
Is it possible right now to use this gem to create rails model using only ES?
e.g:
If so, is there any documentation about this?
Thanks.
The text was updated successfully, but these errors were encountered: