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
This issue is based on a discussion #3328 and @timotheeguerin's suggestion to solve my particular use case. See details in that discussion. The gist is that I'd like to write a custom decorator that simplifies the following notation:
@extension("x-foo",Json<"value here">)
to the this one
@foo("value here")
Right now it's implemented in my code with a hack like this, which creates a "fake" template instantiation of Json<T> model.
Veetaha
changed the title
Expose a JS API for adding extension fields to a schema in a custom decorator
Expose a TS API for adding extension fields to a schema in a custom decorator
May 13, 2024
Clear and concise description of the problem
This issue is based on a discussion #3328 and @timotheeguerin's suggestion to solve my particular use case. See details in that discussion. The gist is that I'd like to write a custom decorator that simplifies the following notation:
to the this one
Right now it's implemented in my code with a hack like this, which creates a "fake" template instantiation of
Json<T>
model.Checklist
The text was updated successfully, but these errors were encountered: