Skip to content

Feature Request - More detail in ITypeConverter #68

Description

@OpenSpacesAndPlaces

Great work here!

Using FixedLengthFile/FixedLengthField.

Would be helpful if ITypeConverter instances had access things like:

  • Destination Object Type (not the property)
  • Line Number
  • Column Number

Right now I'm not seeing a way to provide the specific details about the exact thing causing the problem.

Within ITypeConverter I can only see something like:

  • String to Bool and the value was X

HandleEntryReadError:

  • This gets me the line text and the intentionally thrown error.

This feature request might just kind of be specific to FixedLengthFile with lots of fields - it sometimes can be a pain to figure out where the problem is when you have hundreds of characters of text smash, let alone provide a detailed/automatic report to a data source provider say via email.

Thanks for the help!

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions