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

feat: allow for creating a LookupDef without manually initializing a ModelListing #502

Merged
merged 12 commits into from
Jun 12, 2024

Conversation

chrispcampbell
Copy link
Contributor

Fixes #501

This amends some recent changes that made ModelListing and VarSpec part of the public API, so they are now once again treated as implementation details and no longer part of the public API. (Technically they were never part of the public API since we haven't published packages yet that include any of the recent API changes.)

See issue for a before/after from a developer's perspective. With these changes, developers don't need to be concerned with what a ModelListing or VarSpec are used for. The developer can refer to a lookup variable by name or ID, and the implementation will take care of matching it to the correct variable in the generated model. (I will change the way "output indices" are implemented to work similarly, but that will be done in a separate branch later.)

@chrispcampbell chrispcampbell merged commit 5690055 into main Jun 12, 2024
6 checks passed
@chrispcampbell chrispcampbell deleted the chris/501-hide-model-listing branch June 12, 2024 00:30
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

Successfully merging this pull request may close these issues.

Allow for creating a LookupDef without manually initializing a ModelListing
1 participant