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
Create string, float, and int typed attribute update models
Create protocol for all 3 to conform to
Expect array of procotol in update func
Make protocol include func for returning [String: Any] based on model's properties
Use that func in update func to get dicts to turn into JSON
Optionally add validation to models to point out errors of mismatched value types, e.g. in string type, check if name matches all known non-string attributes, and throw error if so
The text was updated successfully, but these errors were encountered:
Create string, float, and int typed attribute update models
Create protocol for all 3 to conform to
Expect array of procotol in
update
funcMake protocol include func for returning
[String: Any]
based on model's propertiesUse that func in
update
func to get dicts to turn into JSONOptionally add validation to models to point out errors of mismatched value types, e.g. in string type, check if name matches all known non-string attributes, and throw error if so
The text was updated successfully, but these errors were encountered: