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
Object named <ServiceName>CoroutineGrpc is generated only when ascipb format is used. In both json and yml formats it's not present. Example project: https://github.com/alexeysoshin/KotlinGrpcKroto
My guess is that it has something to do with upper-case and lower case names.
The text was updated successfully, but these errors were encountered:
Looking at it now, it makes sense. The generator being enabled relies on the existence of at least one configuration being present. The empty {} serializes to one configuration. These two configurations are equivalent.
// asciipb
grpc_coroutines{}
grpc_coroutines{}
{
"grpcCoroutines":[
{},
{}
]
}
To your point though, the configuration for json and yaml is confusing. I think this could potentially be fixed by checking if the message is set in the filter utils, but this would need to be tested. In theory it should work since message fields still support hasX checks in proto3. protocolbuffers/protobuf#249
Object named
<ServiceName>CoroutineGrpc
is generated only whenascipb
format is used. In bothjson
andyml
formats it's not present. Example project: https://github.com/alexeysoshin/KotlinGrpcKrotoMy guess is that it has something to do with upper-case and lower case names.
The text was updated successfully, but these errors were encountered: