tokers commented on a change in pull request #374:
URL:
https://github.com/apache/apisix-ingress-controller/pull/374#discussion_r613826770
##########
File path: pkg/apisix/resource.go
##########
@@ -72,6 +72,27 @@ type item struct {
Value json.RawMessage `json:"value"`
}
+type routeWrap v1.Route
Review comment:
You can just create a type `Vars` in `pkg/types/apisix/v1`, and
Implement the `json.Unmarshaler` interface for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]