ocket8888 commented on a change in pull request #5345:
URL: https://github.com/apache/trafficcontrol/pull/5345#discussion_r540448769



##########
File path: lib/go-tc/deliveryservices.go
##########
@@ -179,6 +188,11 @@ type DeliveryServiceNullableV30 struct {
        ServiceCategory    *string `json:"serviceCategory" 
db:"service_category"`
 }
 
+type DeliveryServiceV31 struct {
+       DeliveryServiceNullableV30
+       MaxRequestHeaderSize *int `json:"maxRequestHeaderSize" 
db:"max_request_header_size"`
+}
+
 // Deprecated: Use versioned structures only from now on.
 type DeliveryServiceNullable DeliveryServiceNullableV15

Review comment:
       That should work out fine, since the only kinds of changes that should 
break alias property access are the same kinds that would necessitate a major 
version bump.




----------------------------------------------------------------
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]


Reply via email to