Skip to content
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

Move IO Types to the bottom of corresponding core type files (where appropriate) #212

Closed
samreid opened this issue Sep 11, 2020 · 4 comments
Assignees

Comments

@samreid
Copy link
Member

samreid commented Sep 11, 2020

From #188 (comment)

We prefer to move the IO types to the bottom of the core type file. This makes it possible to set the validator using the exact class without needing to access it lazily or access it from the namespace. I'll make a new issue to move to this pattern.

Note this will not be possible for StringIO or NumberIO. IO Types that are used by multiple core types may wish to remain separate.

@samreid samreid self-assigned this Sep 11, 2020
@samreid
Copy link
Member Author

samreid commented Sep 12, 2020

Let's wait until NS has SHAs and perhaps wait until there is progress in #211 first.

@samreid
Copy link
Member Author

samreid commented Sep 25, 2020

There is sufficient progress in #211, but @zepumph and I are partway through a "what is the long term goal" conversation which may adjust our path. But no matter how that conversation goes, should we still implement this issue now as a stepping stone?

@samreid samreid assigned zepumph and unassigned samreid Sep 25, 2020
@samreid
Copy link
Member Author

samreid commented Sep 26, 2020

We discussed this today and agreed it is best to move new IOType to the core file for now.

samreid added a commit to phetsims/scenery that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/sun that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/wave-on-a-string that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/axon that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/balloons-and-static-electricity that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/beers-law-lab that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/bending-light that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/blackbody-spectrum that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/build-an-atom that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/capacitor-lab-basics that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/charges-and-fields that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/circuit-construction-kit-common that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/color-vision that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/dot that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/energy-forms-and-changes that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/energy-skate-park that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/faradays-law that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/forces-and-motion-basics that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/gas-properties that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/graphing-quadratics that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/gravity-and-orbits that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/inverse-square-law-common that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/joist that referenced this issue Sep 29, 2020
samreid added a commit to phetsims/john-travoltage that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/masses-and-springs that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/scenery that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/scenery-phet that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/balancing-act that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/beers-law-lab that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/charges-and-fields that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/circuit-construction-kit-common that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/energy-forms-and-changes that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/john-travoltage that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/joist that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/molecules-and-light that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/natural-selection that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/projectile-motion that referenced this issue Sep 30, 2020
samreid added a commit that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/phet-core that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/phet-core that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/phet-core that referenced this issue Sep 30, 2020
samreid added a commit to phetsims/phet-core that referenced this issue Sep 30, 2020
@samreid
Copy link
Member Author

samreid commented Sep 30, 2020

I moved the appropriate IO types to the core type files. All TODOs complete. Closing.

@samreid samreid closed this as completed Sep 30, 2020
samreid added a commit to phetsims/utterance-queue that referenced this issue Sep 30, 2020
jessegreenberg pushed a commit to phetsims/greenhouse-effect that referenced this issue Apr 21, 2021
jessegreenberg pushed a commit to phetsims/greenhouse-effect that referenced this issue Apr 21, 2021
jessegreenberg pushed a commit to phetsims/greenhouse-effect that referenced this issue Apr 21, 2021
jessegreenberg pushed a commit to phetsims/greenhouse-effect that referenced this issue Apr 21, 2021
jessegreenberg pushed a commit to phetsims/greenhouse-effect that referenced this issue Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants