Skip to content

Simpler property mapping #3

Description

@ohager

It would be nice if properties could be mapped a bit more dev friendly.

For the current version (0.0.11) you need to define everything in propertyTransform, like

const mapper = new Mapper( {propertyTransform: p => p === 'foo' ? 'foozed' : p} )

As Devs are lazy, I should provide a neater way to do that. 🍨

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions