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
note: here it was solved by adding additional "isLegal" function to the class.. but it can be part of the validation. otherwise every time you create an instance you would call both "validate()" and "isLegal()" which is wierd and error prone if you forget one of the two
Reacted by Aneesh Devasthale, Oliver Lowe, Thomas Noe and Gleidson Ferreira
Activity
t3h2mas commentedon Jun 3, 2020
@talyssonoc If someone were to take a run at this, what do you think the API should look like?