rawlinp commented on issue #2560: TO Go cachegroups, DS regexes, servers, and 
staticdnsentries don't validate their type
URL: https://github.com/apache/trafficcontrol/issues/2560#issuecomment-406084467
 
 
   Agreed, there will basically be a shared helper function that both CRUD and 
non-CRUD endpoints will use to validate the struct's type by checking the type 
table. The difference being that the CRUD framework will just check for the 
optional interface implementation and do the validation in the handler, whereas 
non-CRUD handlers would just call the shared function directly.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to