Skip to content

[Feature Request] fieldRename support for Records #1354

Open
@livtanong

Description

@livtanong

Hi, as mentioned in this comment(#1222 (comment)), I'd appreciate it if there were some way to add fieldRename for Records.

I'm making this separate issue because I have a feeling it has been overlooked because it's on a closed issue.

I figure the intuitive way for this to work would be for JsonSerializable(fieldRename: __) to apply recursively to all records under a class, with the option for a JsonKey argument to override this behavior.

That said, if this is something that for some reason or another will not be supported, it would still be useful to have official word on this issue, and guidelines on what should be done instead.

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