Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Further simplify module routing #75

Merged
merged 5 commits into from
Oct 11, 2021

Conversation

dbluhm
Copy link
Member

@dbluhm dbluhm commented Oct 11, 2021

  • Removed PartialType
  • ModuleRouter.init() accepts a ProtocolIdentifier
  • Modules now must define protocol as a string

BREAKING CHANGE: Modules must define protocol as a string and ModuleRouter must accept a protocol identifier

These changes remove a significant amount of "magic" for the sake of simplicity.

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
- Removed PartialType
- ModuleRouter.__init__() accepts a ProtocolIdentifier
- Modules now must define protocol as a string

BREAKING CHANGE: Modules must define protocol as a string and
ModuleRouter must accept a protocol identifier

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
@dbluhm dbluhm merged commit 2125c46 into hyperledger:main Oct 11, 2021
@dbluhm dbluhm deleted the refactor/module-router-context branch October 11, 2021 19:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant