datalevin

2025-02-10T13:25:02.771839Z

Hello everyone! Looks like transact-async function is never tested? I probably encountered a bug that a callback set once is not changing in subsequent calls of transact-async even if passed a different one. Is it possible?

Huahai 2025-02-10T17:40:43.019959Z

what do you mean? There's no public function that's not tested.

Huahai 2025-02-10T17:51:30.868329Z

You are right. Right now, we expect the callbacks to be the same, which works well with our test scenarios so far. Now you mentioned it, it doesn't seem to be a reasonable assumption though. Let me change that.

Huahai 2025-02-10T18:16:43.217699Z

So it is not a bug, for it is designed that way. But that doesn't mean that design is right and cannot be changed. I am open to correction all the time.

👌 1
Huahai 2025-02-10T18:43:00.706829Z

Master branch now has the fix.

🔥 1
2025-02-10T20:13:50.352619Z

Thank you very much! Yes, in my case I need different callbacks every time.

🙂 1