I am using GRPC on top of ASPNETCore, also have a model like this:
syntax = "proto3";
message Blob {
string id = 1;
string path = 2;
}
The problem is that when i try to set the path
property to null, It throws an ArgumentException
.
simply running this code:
new Blob { Path = null };
Results into this:
System.ArgumentNullException: Value cannot be null. (Parameter 'value')
at Google.Protobuf.ProtoPreconditions.CheckNotNull[T](T value, String name)
at Grpc.Blob.set_Path(String value)