[Question] Rom-RB support
drselump14 opened this issue · comments
Slamet Kristanto commented
Is it possible to integrate this gem to non-AR project. For example: rom-rb
Vladimir Dementyev commented
Currently, not. But a PR would be welcomed)
Here is a sneak preview of what a refactoring could be like:
- First, we need to extract SQL definitions from AR generators/migrations (not difficult, we already keep them in separate files)
- Secondly, we need to define a value object or type object or whatever, which would play a similar role as
History
andHistory::Type
do for AR.
I'm not a Rom-RB user, so I'm not going to work on this myself.
However, if you can sketch an idea of the desired API, we would be glad to do all the preliminary work (i.e., extract the core).