Hi Daniel! I am also working with Arrow and Ktor. ...
# arrow
m
Hi Daniel! I am also working with Arrow and Ktor. Bob is right, ORMs are tough to get to work with pure FP, but there are some ways to make this work. I can help you get things kickstarted if you're interested. I should have some time in a couple of days. Feel free to reach out.
😍 2
a
May I tag along and join the discussion? I am very interested in this topic.
the current way we use in our project is to only rely on ORM to persist and retrieve the object for us, without using the ID generation part.(For example, if the ID field is null, it would usually generate a auto-incremented ID and assign to the object)
it’s a bit like serializing/deserializing into/from json, but it’s against DB instead
I’ve been wondering how other projects would do it in which way
m
Absolutely! I've been thinking of setting up a channel around this topic. Might make sense to finally do just that! 🙂
👍 2
Created a channel #practical-functional-programming
🚀 1
😂 2
t
@mattmoore Thanks! Happy to do that. Also check my reply to Bob Glamm to read more about what I've tried.