Skip to content

Add supported for nested profile arrays #14

Description

@stackoverfloweth

mapper.register currently expects either a single profile or an array of profiles.
loadProfiles expects an import where each "thing" is a profile

what if my file structure was

└── src
   └── maps
     ├── string.ts
     ├── number.ts
     └── index.ts

and string.ts and number.ts both exported an array of profiles like

export const numberProfiles = [
   ...
]

we would need to support a utility that flattens those arrays nicely

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