Skip to content

Ability to require specified CSV columns #518

@clamothe

Description

@clamothe

It would be nice to be able to validate that all expected columns are present in the CSV.

ignorePropertyNotFound fulfills my desire to allow the CSV to contain additional unspecified columns. However, there is no MapperBuilderErrorHandler method called if a defined column is actually missing from the CSV.

I've tried adding all required headers using CsvMapperFactory.addKeys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions