[
https://issues.apache.org/jira/browse/BEAM-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15645687#comment-15645687
]
Kenneth Knowles commented on BEAM-936:
--------------------------------------
I don't know that we have to aggressively match all possibilities. I think it
is fine to do what we do today and have a clear "static" method API. Otherwise
you get annoying cases where, for example, two of them are applicable. We
should probably move towards some explicit annotation-based approach like
Jackson with its {{JsonCreator}}.
> @DefaultCoder(MyCoder.class) should work if MyCoder has a .of(), .create(),
> or a zero-args constructor
> ------------------------------------------------------------------------------------------------------
>
> Key: BEAM-936
> URL: https://issues.apache.org/jira/browse/BEAM-936
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-core
> Reporter: Daniel Halperin
> Priority: Minor
>
> CC [~kenn]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)