Skip to content

Feature request: Reject call if there are parameters/fields that don't exist in the protobuf #1210

Closed
@veqryn

Description

@veqryn

I would like the grpc-gateway to have the ability to reject http calls that are made, where there are fields (http query parameters, body fields, etc) specified that do not match the allowed fields.

For example, this could be in the form of a ServeMuxOption that returns a 400 response.

My use case is that clients often don't know they have misspelled fields in their request (such as filters, etc), because the request is not rejected. By the time my handlers receive the request, they don't even know if there were any wrong fields specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions