You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using domains to enforce certain type constraints (specifically requiring a prefix on a string type), and are looking for a way to map this properly to the generated schema. For example, we have a domain called thread_id which has a CHECK(VALUE ~ '^thread_') constraint. In TS, this can map safely to thread_${string}, which we use for identifiers to get some additional safety instead of just using string.
Having a way to map this correctly would be extremely helpful, but I don't see a way we can do this properly
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
We're using domains to enforce certain type constraints (specifically requiring a prefix on a string type), and are looking for a way to map this properly to the generated schema. For example, we have a domain called
thread_id
which has aCHECK(VALUE ~ '^thread_')
constraint. In TS, this can map safely tothread_${string}
, which we use for identifiers to get some additional safety instead of just usingstring
.Having a way to map this correctly would be extremely helpful, but I don't see a way we can do this properly
Upvote & Fund
The text was updated successfully, but these errors were encountered: