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
When instantiating objects from the RM classes, the user can make mistakes, for instance forgetting to add some mandatory fields.
We can create a class that validates the instances so we are sure the object is valid before, for instance, serializing it to JSON, because the JSON serializer doesn't validate the object, and fails if there are null values on required fields.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: