Skip to content

Consider using less ambiguous terms when describing transforms #437

Closed
@abonander

Description

@abonander

I got caught out yesterday by assuming the "inbound" transform was for going from storage -> redux state, and the "outbound" transform was for going from redux -> storage. The terminology is rather ambiguous, because it could mean going out from the Redux store to disk, or out from storage into the Redux store, and vice versa.

Maybe consider using "serialize" and "deserialize" instead, since transforms will usually be used to flatten complex datastructures to simpler ones or reinflate said datastructures from the serialized layout.

Or to be completely unambiguous, how about "toStorage" and "fromStorage"?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions