Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a messages filter for each category message #16

Open
1 of 2 tasks
renancloudwalk opened this issue Jan 13, 2023 · 0 comments
Open
1 of 2 tasks

Create a messages filter for each category message #16

renancloudwalk opened this issue Jan 13, 2023 · 0 comments

Comments

@renancloudwalk
Copy link
Contributor

renancloudwalk commented Jan 13, 2023

Why?

Currently we are exposing all the DataElements and PDS messages on our Iso8583File implementation, this can become bothersome, specially on big iso8583 files (>100MB). We need to filter the fields by value and label.

How?

There are two ways:

  • Implement Copy for Iso8583File and copy only the intended fields into a new Iso8583File struct (memory intensive)
  • Implement a filter directly at Iso8583File and change messages implementation (bigger chance of a breaking change on code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant