Skip to content

Simplify DefaultCoder #18462

@kennknowles

Description

@kennknowles

DefaultCoder is too hard to use - it requires having a CoderProvider class and a bunch of other boilerplate. It should have simpler usage modes, e.g. @defaultcoder(FooCoder.class) class Foo should simply work if FooCoder only has a "static FooCoder of()" method, or "of(TypeDescriptor)" for more complex use cases (eg generics).

Imported from Jira BEAM-2754. Original Jira may contain additional context.
Reported by: jkff.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions