Convert gRPC proto Definition into GraphQL Schema
const { getGraphqlSchemaFromGrpc } = require('grpc-graphql-schema');
getGraphqlSchemaFromGrpc({
endpoint: 'localhost:50051',
protoFilePath: '/path/to/ServiceDefinition.proto',
serviceName: 'GrpcServiceName',
packageName: 'name.package',
}).then(schema => {
// load schema in graphql server
});