grpc / grpc/grpc-node

protoLoader.loadSync from string

Open
#1,530 9 comments 1 reaction 0 assignees View on GitHub
feature request package: @grpc/proto-loader
Dominant language
TypeScript
Stars
4.8k
Forks
716
Avg merge
2d 3h
Merged PRs (30d)
10

Description

protoLoader.loadSync supports loading a proto from physical file

I would like to have an ability to pass proto as a string parameter

currently I have to save the proto file physically to be able to pass to protoLoader.loadSync method

This is useful when you have your proto files centralized in a storage system, so you can load and pass as an string parameter

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.