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
Another shortcoming is that there isn't a good separation between "input" types and "output" types. This matters in situations where a method accepts, for example, a Block in its parameters. At call time, a block won't have properties like id - those are assigned by the server. However, the Block type has id set as a non-optional property. This is a real issue and should be handled in a bugfix.
The text was updated successfully, but these errors were encountered:
Thanks for identifying this! It will be nice for TS to let us omit properties we aren't updating from their default values when sending POST requests, as described here:
typescript forces all the properties id, title, that's why i have created that createTitle()
cause all TitlePropertyValue properties are required
from #20
The text was updated successfully, but these errors were encountered: