-
Notifications
You must be signed in to change notification settings - Fork 5
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
Several IO types should use ReferenceIO #215
Comments
I converted these and tested briefly. I noted Energy Skate Park was failing before and after this change. @zepumph can you please spot check one or two of these? Close if it seems reasonable. |
Isn't phetsims/energy-skate-park@c0d0a98 |
The previous code does seem like it was supposed to be phetioType: ControlPoint.ControlPointIO, which seems correct, and the snapTargetProperty is: phetioType: Property.PropertyIO( NullableIO( ControlPoint.ControlPointIO ) ), So even though I didn't port what was there, perhaps it turned out OK? |
I see. OK sounds good if you feel good. Can you take one more glance for other cases like that, then feel free to close? |
The other cases look like they are in the same boat: original version supported |
During #211 I noticed several IO types that were simulating ReferenceIO. I'll point their TODOs to this issue. There may be more as well. Also, keep in mind https://github.com/phetsims/phet-io/issues/1709#issuecomment-700805070 has a proposal that
PhetioObject.toStateObject
would be reference-ish by default.The text was updated successfully, but these errors were encountered: