Help with @friendlyName #11037
-
|
Hi! The resulting TIA |
Beta Was this translation helpful? Give feedback.
Answered by
timotheeguerin
Jun 22, 2026
Replies: 1 comment 4 replies
-
|
The doc interpolation is very limited and just interpolate internal properties of the model and is going to be deprecated, the way moving forward is going to be with string interpllation and functions. We do not expose yet a function like that but you can write one that fits your needs extern fn myName(type: unknown): valueof string;
@doc("DTO of ${myName(T)} list")
model ObjectList<T extends Model> is ExcerptOf<T> {} |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
dvv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The doc interpolation is very limited and just interpolate internal properties of the model and is going to be deprecated, the way moving forward is going to be with string interpllation and functions. We do not expose yet a function like that but you can write one that fits your needs