Hi,
I created a cloud function with the following validation object :
{
fields: {
id: {
required: false,
type: String
}
}
}
As you can see, the field is set as not required. However, when I call the cloud function with an empty parameters object, I get this error, implying that the value of the field cannot be undefined :
Validation failed. Invalid type for id. Expected: string
Am I doing something wrong ?