Does `.$defaultFn()` support Promises somehow?
I have custom SnowflakeId generator that is delaying its result in some edgecases (like time rollbacks and seqId overflows). I want to use this generator in my schema definition's
.$defaultFn()
, but it does not seems to allow me to put promise there? Any reason why or how to do it?
Is this something that was requested before?0 Replies