Skip to content

Support xmap in TableRowType #1153

@clairemcginty

Description

@clairemcginty

Scio's BigQueryType supports type overrides via OverrideTypeProvider. This is used heavily by libs like Elitzur to do field-level validation at runtime. However, there is currently not a migration path for case classes with overriden types to migrate to magnolify-bigquery.

We could support this by unsealing the TableRowType trait/adding some kind of xmap method so that users can define their own type overrides in Magnolify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions