Replies: 1 comment
-
Just another library user, but I'm not sure if there's a good way to do that, at least how you're asking. If you were working from a fork of Rel8 you could look at modules like But caveat emptor. My understanding of those functions is strictly limited to seeing that their types are suggestive. So you could end up spending a bunch of time and then find out they're internal for a reason. And honestly, I'm not even sure that would be as trivial a change as it sounds, because even if they do what they're types suggest, it would also effect all your inserts and deletes, which would then need to be modified too, and I'm not sure there's a way to do that, without hacking on even more internals. If not, you'd also have to then change to By the end you could have done made as big a change as you were trying to avoid, just with no guarantee that the thing you hacked together will even work to begin with. I had to migrate my own code base, and ended up doing it monolithically, but if that wasn't an option I think just having table definitions duplicated for a time, and treating each transaction as your smallest unit of change would be the safer option. |
Beta Was this translation helpful? Give feedback.
-
Hi!
This package looks really nice and I would love to try it. The problem is that we have quite a lot of code that currently uses Opaleye. Do you have any advice for how to replace some of it with rel8, perhaps only the schemas at first, while keeping our existing Opaleye queries?
Beta Was this translation helpful? Give feedback.
All reactions