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

Better method for determining compatible types #333

Open
trharoldsen opened this issue Jan 21, 2018 · 0 comments
Open

Better method for determining compatible types #333

trharoldsen opened this issue Jan 21, 2018 · 0 comments

Comments

@trharoldsen
Copy link
Collaborator

Currently, the only way to get compatible site types of another site type is to access the device, query for the site template (which I've tried to keep from being a common occurrence), and then check the compatible types. This is cumbersome and especially problematic if you don't have a pointer to the device. We should provide some better method of getting possible site types.

Three proposed methods are

  1. Add a method to the device class to get compatible types of a type. This would internally query the site template and check.
    2a. Add it to the family info class. If desired, this could be programmatically entered similar to how the site types are generated for the class.
    2b. In addition to adding it to the family info, add a method to the site type class that will check the family info class for compatible types.
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

1 participant