Skip to content

refactor: split reframe specs#292

Merged
aschmahmann merged 1 commit intoreframe-cachingfrom
refactor/split-reframe-specs
Jun 24, 2022
Merged

refactor: split reframe specs#292
aschmahmann merged 1 commit intoreframe-cachingfrom
refactor/split-reframe-specs

Conversation

@lidel
Copy link
Copy Markdown
Member

@lidel lidel commented Jun 22, 2022

This PR decouples Transports and Known Methods from the generic RPC protocol and moves everything under ./reframe directory, as proposed in #287 (review)

Filled as PR against that PR for easier review (same content, different presentation).

(cc @aschmahmann @petar @willscott)

Why should we do this split?

We don't have to, but it will make things easier to navigate going forward:
It allows us to add/modify methods and transports without touching the protocol itself.

PREVIEW

Rendered Markdown: https://github.com/ipfs/specs/tree/refactor/split-reframe-specs/reframe

Implements split proposed in
#287 (review)

This decouples Transports and Known Methods from the generic RPC
protocol, and allows us to add more methods and transports without
touching the protocol itself.
Copy link
Copy Markdown
Contributor

@willscott willscott left a comment

Choose a reason for hiding this comment

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

I'm happy to see this refactored into a directory.

for extensibility, might consider splitting further into 'methods' (containing identify), 'methods_ipns', and 'methods_findproviders'

@lidel
Copy link
Copy Markdown
Member Author

lidel commented Jun 23, 2022

@aschmahmann ok to this into #287, and merge that one as well?

@aschmahmann aschmahmann merged commit c9e73f6 into reframe-caching Jun 24, 2022
@aschmahmann aschmahmann deleted the refactor/split-reframe-specs branch June 24, 2022 14:05
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.

4 participants