-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValidatorDef should support phetioType
#258
Comments
Above I added support for The main piece I would like reviewed here is in @samreid please review these changes, perhaps together? |
b55a3bf seems reasonable. To alleviate our concerns about memory, why not only allocate |
How about just
That way we only make a new object if assert is false. What do you think? |
That sounds good @zepumph. I also took that same idea a step further in the commit. Can you please review? |
Oh that is so very nice. How do you like my minor tweak to remove duplicated documentation? |
Looks great, thanks! I'm ready to close if you are. |
Over in #257 we thought this was the best way forward. Then we don't have to do a special case for the phetioType like we do in this sha here:
axon/js/Action.js
Lines 201 to 210 in 9e7e33a
The text was updated successfully, but these errors were encountered: