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

Support provides/requires relationship in composite components #406

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

jsoverson
Copy link
Contributor

This PR adds support for requires/provides relationships in composite components. The configuration parsed correctly, but the functionality was never added. This led to unexpected errors and an unintuitive experience. This PR officially adds the ability for composite components to require components and access them in flows.

POTENTIAL BREAKING NOTE: This PR makes the order of import-ed components important. During the changes above, I saw some random test failures that stemmed from the indeterministic ordering of rust's HashMap keys. This PR changes those structures to lists which will make them reliable but order-dependent. Components must now be imported in an earlier position than they are provided to other components.

@jsoverson jsoverson merged commit 8ceae1a into main Aug 15, 2023
5 checks passed
@jsoverson jsoverson deleted the composite-provides branch August 15, 2023 14:35
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.

2 participants