Skip to content

Feature: Aggregation of contracts, Fixes #78#80

Merged
jonloucks merged 1 commit intomainfrom
jonloucks-fixes-78
Oct 25, 2025
Merged

Feature: Aggregation of contracts, Fixes #78#80
jonloucks merged 1 commit intomainfrom
jonloucks-fixes-78

Conversation

@jonloucks
Copy link
Owner

Feature: Aggregation of contracts, Fixes #78

Description

Added new configuration option when creating a new Contracts

        default List<Contracts> getPartners() {
            return Collections.emptyList();
        }

If Partners are provided, they are used a backup if the newly created Contracts does not have a binding.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (code improvement or restructuring without changing external behavior)
  • Documentation update
  • Chore (e.g., dependency updates, build tooling changes)

How Has This Been Tested?

Added new tests PartnersTests.java

Checklist:

  • My code follows the project's coding style guidelines.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation (if necessary).
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or my feature works.
  • New and existing unit tests pass locally with my changes.

Additional Notes

@jonloucks jonloucks merged commit 39878e2 into main Oct 25, 2025
23 checks passed
@jonloucks jonloucks deleted the jonloucks-fixes-78 branch October 25, 2025 21:41
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.

Contracts hierarchy so claiming cascades up looking for promisors

1 participant