You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add a prefix or suffix to the all argument names (using characters not allowed in .proto files but allowed in .dart files) we generate to make sure they won't clash with method names generated from names specified by the user.
I'll fix this but in the meantime, you can give another name to your call RPC method.
osa1
added a commit
to osa1/protobuf.dart
that referenced
this issue
Feb 25, 2025
i'm not sure if my .proto is valid but it worked for other things so assumed so:
so the problem seems to be that the rpc of DefaultService is named Call, which causes problems when compiling for dart:
this file is called default.pbgrpc.dart and is part of the output
the problem:
so when trying to execute it, it complains about how something is wrong at 1) and how call doesnt work
my temporary workaround and possible fix inspiration:
renaming the function that's trying to be called at 1) and 2) to asdasd
I'm using protoc 29.2 on linux
The text was updated successfully, but these errors were encountered: