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
return reflect.Value{}, nil, fmt.Errorf("field already set for %s oneof", props.Prop[op.Field].OrigName)
}
field.Set(v)
returnv.Elem().Field(0), op.Prop, nil
}
There's a map of oneofs that we loop over, however they key of the map is the name with the underscore, so given a camelCase param, it will never find it.
The text was updated successfully, but these errors were encountered:
Enums like
will not be parsed correctly through the gateway with the
camelCase
flag.project_id
succeeds butprojectId
does not.The issue looks to be here :
grpc-gateway/runtime/query.go
Lines 120 to 128 in 7f57073
There's a map of
oneof
s that we loop over, however they key of the map is the name with the underscore, so given a camelCase param, it will never find it.The text was updated successfully, but these errors were encountered: