damccorm commented on issue #21929:
URL: https://github.com/apache/beam/issues/21929#issuecomment-1159111489

   Hey @gonzojive thanks for the suggestion - broader use of generics is 
absolutely something we want to see more of!
   
   This doesn't do everything you're talking about here, but I did add generic 
registration functions which will be part of the next release (2.40). The docs 
aren't merged yet ([here if you want a sneak 
peak](https://github.com/apache/beam/pull/17799)), but it should allow you to 
register your DoFn, register all associated types, and do some performance 
optimization using reflection with a single call.
   
   This is just a start, and we should absolutely keep pushing usage of 
generics forward to improve the experience here.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to