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

feat: remove buildHandlersChain #114

Merged
merged 4 commits into from
Sep 18, 2023
Merged

Conversation

danroc
Copy link
Contributor

@danroc danroc commented Sep 17, 2023

This function lacks many features we expect from a middleware manager, like allowing the inspection of the response. Also, it uses an exception to check if the chain should stop or continue, which can be considered a bad design.

However, we add a new isKeyringRpcMethod function that allow us to check if a method is a keyring RPC method.

Closes: #112

This function lacks many features we expect from a middleware manager,
like allowing the inspection of the response. Also, it uses an exception
to check if the chain should stop or continue, which can be considered a
bad design.

However, we add a new `isKeyringRpcMethod` function that allow us to
check if a method is a keyring RPC method.
@montelaidev montelaidev enabled auto-merge (squash) September 18, 2023 07:47
@montelaidev montelaidev merged commit acb9aaf into main Sep 18, 2023
15 checks passed
@montelaidev montelaidev deleted the feature/remove-handlers-chain branch September 18, 2023 08:03
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.

2 participants