I was trying to get something similar to that originally. I'm glad it doesn't 
use an interface, but I also wish it wasn't so long: 
`api.ReadHandler(api.ToReadFactory(example.GetTypeSingleton()))`
Seems a little repetitive in my opinion.

I was thinking about how it was a runtime error and thought it would be fine 
since it seems like a pretty hard thing to miss. It would be especially 
difficult to miss if api tests were associated with the endpoint, which is 
standard practice. Would you still reject the PR for this?

[ Full content available at: https://github.com/apache/trafficcontrol/pull/2886 
]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to