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
I know it's possible to generate readonly data model with typescript plugin.
Is there a way to reproduce same behavior with client preset ?
Could be very useful because I try to keep my frontend types as readonly as I can.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi !
I know it's possible to generate readonly data model with typescript plugin.
Is there a way to reproduce same behavior with client preset ?
Could be very useful because I try to keep my frontend types as readonly as I can.
Thanks for your help
Edit :
I've applied following patch
Beta Was this translation helpful? Give feedback.
All reactions