-
Notifications
You must be signed in to change notification settings - Fork 125
ref(specs): matches -> routes in HTTPRouteGroup #229
Conversation
This PR changes spec.matches to spec.routes in HTTPRouteGroup. This change makes the spec a little clearer and easier to understand. This change will also to more easily talk about routes in the Traffic Split spec as well. This PR also updates the directory structure of the draft branch to make it clearer what file is being used to develop a specific API. Signed-off-by: Michelle Noorali <[email protected]>
It looks like |
@trstringer The use case for defining Example:
|
That makes total sense! Thanks for the explanation, and after reading that I also agree. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @michelleN this makes the API more readable 🏅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR changes spec.matches to spec.routes in HTTPRouteGroup.
This change makes the spec a little clearer and easier to
understand. This change will also to more easily talk about
routes in the Traffic Split spec as well.
As part of this refactor, I also removed the matches key from the
TCPRoute spec and the UDPRoute spec as I haven't seen a use for it.
Please let me know if there are any objections.
This PR also updates the directory structure of the draft branch
to make it clearer what file is being used to develop a specific API.
Signed-off-by: Michelle Noorali [email protected]