How to use google/protobuf/any.proto
See original GitHub issue
// I am using Any type in one of my proto file
import "google/protobuf/any.proto";
But when i am running the generator it is generating the import like :
import { Any } from "./google\\protobuf\\any";
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Language Guide (proto3) | Protocol Buffers - Google Developers
The Any message type lets you use messages as embedded types without having their .proto definition. An Any contains an arbitrary serialized message...
Read more >protobuf/any.proto at main - GitHub
Protocol Buffers - Google's data interchange format - protobuf/any.proto at main ... Redistribution and use in source and binary forms, with or without....
Read more >Importing any.proto in .proto files - Google Groups
syntax = "proto3"; import "/google/protobuf/any.proto"; message Test { Any var1 ... I am using python 3.5 and have protobuf 3.5.2 installed.
Read more >Using google.protobuf.Any in python file - Stack Overflow
CopyFrom(some_any) . ...you'll need a . proto file which describes some message type that has integer fields named a and b . Personally,...
Read more >Protobuf Any and Oneof fields for variant types - Microsoft Learn
Protocol Buffer (Protobuf) provides two simpler options for dealing with values that might be of more than one type. The Any type can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in v1.0.11
it seems it need path normalization , i already tried to replace paths, but it says module not found .
Managed to compile it with :
but don’t know if it works or not because i am unable to go past this :
i am trying to migrate from
grpc-js
toprotobuf-ts
in my NestJS project, usingnodejs 14.15.1
withtsconfigs
set to ES2020.after reading the documentation installed
Twirp transport
and added the following call to the server.
but getting :
thanks