Skip to content

refactor(aggregator): remove deprecated configuration field from DependencyContainer - #2385

Merged
Alenar merged 3 commits into
mainfrom
djo/2384/aggregator/remove_configuration_from_dep_container
Mar 24, 2025
Merged

refactor(aggregator): remove deprecated configuration field from DependencyContainer#2385
Alenar merged 3 commits into
mainfrom
djo/2384/aggregator/remove_configuration_from_dep_container

Conversation

@Alenar

@Alenar Alenar commented Mar 24, 2025

Copy link
Copy Markdown
Collaborator

Content

This PR remove the deprecated configuration field from DependencyContainer.

This field was problematic as the Configuration structure is not fully validated, meaning that consumer of this attribute may have to re-validate the fields they needed, something not necessary as the field should have been validated when constructing the dependency builder.

Also, leaving this field as is would complicate #2384 work as the Configuration structure will likely not be used anymore in the DependenciesBuilder (used to build the container).

Pre-submit checklist

  • Branch
    • Crates versions are updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • All check jobs of the CI have succeeded
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

Issue(s)

Relates to #2384

@Alenar Alenar added the refactoring 🛠️ Code refactoring and enhancements label Mar 24, 2025
@Alenar Alenar self-assigned this Mar 24, 2025
@github-actions

github-actions Bot commented Mar 24, 2025

Copy link
Copy Markdown

Test Results

    3 files  ±0     57 suites  ±0   11m 37s ⏱️ +5s
1 774 tests ±0  1 774 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 172 runs  ±0  2 172 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 82b0239. ± Comparison against base commit 2fbe826.

♻️ This comment has been updated with latest results.

@Alenar
Alenar temporarily deployed to testing-preview March 24, 2025 12:07 — with GitHub Actions Inactive

@dlachaume dlachaume left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jpraynaud jpraynaud left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@sfauvel sfauvel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Alenar added 2 commits March 24, 2025 18:46
…_state_from_fixture`

This remove the usages of the only configuration field of the dependency
container.
@Alenar
Alenar force-pushed the djo/2384/aggregator/remove_configuration_from_dep_container branch from b7cbc14 to 378b75b Compare March 24, 2025 17:47
* mithril-aggregator from `0.7.21` to `0.7.22`
@Alenar
Alenar temporarily deployed to testing-preview March 24, 2025 17:56 — with GitHub Actions Inactive
@Alenar
Alenar merged commit 12cd9c8 into main Mar 24, 2025
@Alenar
Alenar deleted the djo/2384/aggregator/remove_configuration_from_dep_container branch March 24, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring 🛠️ Code refactoring and enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants