generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 583
Open
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.Higher priority than priority/awaiting-more-evidence.
Description
What would you like to be added:
gateway-api/apis/v1beta1/httproute_types.go
Line 546 in f844222
Method *HTTPMethod `json:"method,omitempty"` |
It will be better DX to support multiple method matches in HTTPRouteMatch
Method []HTTPMethod
json:"method,omitempty"``
Why this is needed:
While this can be done using multiple match rules, it is better DX to support []HTTPMethod
. Also, the other matches (header, query params) support array. So, it will be also more consistent.
Similar issue also exists in GRPC api.
yaelShechter and washanhanzi
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.Higher priority than priority/awaiting-more-evidence.