When building account-service it errors out on:
qwerty@qwerty-mbp > export CGO_ENABLED=0 GOOS=linux GOARCH=amd64 && go build
# optisam-backend/account-service/pkg/api/v1
../../pkg/api/v1/account.pb.gw.go:107:3: undefined: runtime.CamelCaseFieldMask
../../pkg/api/v1/account.pb.gw.go:109:56: not enough arguments in call to runtime.FieldMaskFromRequestBody
have (io.Reader)
want (io.Reader, *descriptorpb.DescriptorProto)
The temp fix to comment out lines in file optisam-backend/account-service/pkg/api/v1/account.pb.gw.go
//if protoReq.UpdateMask != nil && len(protoReq.UpdateMask.GetPaths()) > 0 {
// runtime.CamelCaseFieldMask(protoReq.UpdateMask)
//} else {
// if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader()); err != nil {
// return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
// } else {
// protoReq.UpdateMask = fieldMask
// }
//}
Can you assist or advise?
When building account-service it errors out on:
The temp fix to comment out lines in file optisam-backend/account-service/pkg/api/v1/account.pb.gw.go
Can you assist or advise?