Replies: 3 comments
-
Yeah, we currently don't allow referencing self in default variables. It should probably be possible to implement, though... I'll think about it. |
Beta Was this translation helpful? Give feedback.
-
+1 for this feature. My use case:
|
Beta Was this translation helpful? Give feedback.
-
My use case is for a messaging application, where I want to keep track of all preceding messages in a reply thread. My schema:
Without this I'm going to have to query for the replied to message's |
Beta Was this translation helpful? Give feedback.
-
I have this
.esdl
file:but when I try to create a migration, it fails with:
Are expressions referring self not allowed as
default
values?Beta Was this translation helpful? Give feedback.
All reactions