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

Allow no components in add_components #47

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

daniel-thom
Copy link
Collaborator

The old behavior was causing a problem for user code that passed a dynamically-built list of components to system.add_components. Requiring that code to check for an empty list was onerous, and we can safely let it go through with no error.

The old behavior was causing a problem for user code that passed a
dynamically-built list of components to system.add_components. Requiring
that code to check for an empty list was onerous, and we can safely let
it go through with no error.
@daniel-thom daniel-thom self-assigned this Oct 23, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.43%. Comparing base (ae517df) to head (b868218).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
- Coverage   95.43%   95.43%   -0.01%     
==========================================
  Files          33       33              
  Lines        2741     2739       -2     
==========================================
- Hits         2616     2614       -2     
  Misses        125      125              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@daniel-thom daniel-thom merged commit 5e1c61d into main Oct 24, 2024
6 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 24, 2024
Allow no components in add_components
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.

3 participants