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
Consider replacing the readOnly functionality of resolveData with a dedicated readOnly API. The current readOnly API:
Requires convoluted dot-notation to set readOnly fields in arrays and objects
Pollutes the Data object
Considerations
Should resolveData be renamed resolveProps?
Could be folded into the resolveFields API, or perhaps this just provides a second way to implement
Storing the readOnly data in the Data object was originally by design, to ensure that the resolver doesn't need to run on page load. However, resolvers now run on page load so this can be reconsidered.
How can the API account for making a specific array index readOnly?
Description
Consider replacing the
readOnly
functionality ofresolveData
with a dedicatedreadOnly
API. The current readOnly API:Considerations
resolveData
be renamedresolveProps
?resolveFields
API, or perhaps this just provides a second way to implementProposals
Proposal 1
A boolean / function API
or
The text was updated successfully, but these errors were encountered: