You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/07/18 21:46:11 UTC

[GitHub] rawlinp commented on issue #2560: TO Go cachegroups, DS regexes, servers, and staticdnsentries don't validate their type

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:
users@infra.apache.org


With regards,
Apache Git Services