Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COR-68] Add registry of loaded RPC clients and expose discovery metadata #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

midhilkari
Copy link
Contributor

@midhilkari midhilkari commented May 25, 2021

Version bump to v5..0.0-beta:

  • Add registry
  • Update prettier & eslint versions

Relates to: COR-68

- Add registry
- Update prettier & eslint versions
@midhilkari midhilkari requested a review from denwilliams May 26, 2021 00:18
@midhilkari midhilkari marked this pull request as draft May 27, 2021 01:09
return client.load(metaPath);
};
exports.registry = new Registry();
exports.Registry = Registry;
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to the other PR, this should export WELL_KNOWN_META_PATH which will be /client in this case, not /server

Copy link
Contributor

@denwilliams denwilliams left a comment

Choose a reason for hiding this comment

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

Couple of comments.

Most of the change in this PR related to prettier. I think you should update prettier in a PR and get that out first to clean up the diff in this PR. The important changes are lost in all the prettier whitespace changes.

index.js Outdated
return loadClient;
}

createWellKnownHandler() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think createWellKnownErrorHandler

Copy link
Contributor

@denwilliams denwilliams left a comment

Choose a reason for hiding this comment

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

Also fix the title. Version bump doesn't describe the changes.

It is about adding a registry of loaded RPC clients and exposing discovery metadata

@midhilkari midhilkari changed the title [COR-68] Version bump to v5..0.0-beta [COR-68] Add registry to load RPC clients and expose discovery metadata May 31, 2021
@midhilkari midhilkari changed the title [COR-68] Add registry to load RPC clients and expose discovery metadata [COR-68] Add registry of loaded RPC clients and expose discovery metadata May 31, 2021
@midhilkari midhilkari marked this pull request as ready for review May 31, 2021 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants