Closed
Description
The PullRequest.maxMessages
is a mandatory field, if we don't provide it we get this error:
{
"error": {
"code": 400,
"message": "A required argument is missing in the request: (argument=\"max_messages\").",
"status": "INVALID_ARGUMENT",
}
}
The PubSub API design we drafted considers maxMessages
an optional option, we must either fix this (by transforming it into a mandatory parameter) or use a default value if the user does not explicitly provide it. /cc @eschapira @aozarov thoughts?