-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
P3Status: BlockedType: API ChangeBreaking API changes (experimental APIs only!)Breaking API changes (experimental APIs only!)
Description
If you're using the new "context" library, then gRPC servers can't match the server to the interface, because it has the wrong type of context.
Compiling bin/linux.x86_64/wlserver
asci/cs/tools/whitelist/wlserver
./wlserver.go:767: cannot use wls (type _Server) as type WhitelistProto.GoogleWhitelistServer in argument to WhitelistProto.RegisterGoogleWhitelistServer:
*Server does not implement WhitelistProto.GoogleWhitelistServer (wrong type for Delete method)
have Delete(context.Context, *WhitelistProto.DeleteRequest) (_WhitelistProto.DeleteReply, error)
want Delete(context.Context, _WhitelistProto.DeleteRequest) (_WhitelistProto.DeleteReply, error)
orian, MarcMagnin, sitano, katsew, YamiOdymel and 14 more
Metadata
Metadata
Assignees
Labels
P3Status: BlockedType: API ChangeBreaking API changes (experimental APIs only!)Breaking API changes (experimental APIs only!)