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
At the moment fc.record only produce editable (aka writable) instances. In reality it could mirror what the user passed to it. If the received model is made of readonly fields, then they should probably stay readonly in the resulting instances (typings and js-wise). Same for sealed.
Before starting this feature, we should probably ask ourselves whether or not readonly should be yet another flag or something as described above.
The text was updated successfully, but these errors were encountered:
🚀 Feature Request
At the moment
fc.record
only produce editable (aka writable) instances. In reality it could mirror what the user passed to it. If the received model is made of readonly fields, then they should probably stay readonly in the resulting instances (typings and js-wise). Same for sealed.Before starting this feature, we should probably ask ourselves whether or not readonly should be yet another flag or something as described above.
The text was updated successfully, but these errors were encountered: