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

feat(rpc): add reflection #287

Merged
merged 3 commits into from
Dec 17, 2024
Merged

feat(rpc): add reflection #287

merged 3 commits into from
Dec 17, 2024

Conversation

winprn
Copy link
Contributor

@winprn winprn commented Dec 16, 2024

No description provided.

@winprn winprn requested a review from d-roak as a code owner December 16, 2024 07:44
Comment on lines 18 to 20
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const PROTO_PATH = path.resolve(__dirname, "../proto/topology/node/rpc.proto");
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const PROTO_PATH = path.resolve(__dirname, "../proto/topology/node/rpc.proto");
const protoPath = path.resolve(dirname(fileURLToPath(import.meta.url)), "../proto/topology/node/rpc.proto");

move this inside the init function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

packages/node/src/rpc/index.ts Show resolved Hide resolved
Copy link
Member

@d-roak d-roak left a comment

Choose a reason for hiding this comment

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

lgtm

@d-roak d-roak merged commit 8549564 into main Dec 17, 2024
12 checks passed
@d-roak d-roak deleted the rpc-reflection branch December 17, 2024 06:52
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.

2 participants