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

Martin/nordea mapper #62

Merged
merged 3 commits into from
Jan 7, 2024
Merged

Martin/nordea mapper #62

merged 3 commits into from
Jan 7, 2024

Conversation

martinohansen
Copy link
Owner

@martinohansen martinohansen commented Jan 7, 2024

I would like to get rid of the logic inside the default mapper and have all the logic in bank-specific mappers. The goal of this is to have fewer config values and less stuff the user needs to reason about. It's getting hard to remember how. setting X affects each bank and what it needs to be for each bank, so let's just put it directly in the code instead.

Remove the TransactionID config option and instead set the transaction
id based on the BankID. Less config options makes for a simpler program.
Add mapper thats specific to Nordea which has some quirks that needs to
be handled differently than the default mapper.

I would like to get rid of the logic inside the default mapper
eventually and have all the logic in bank specific mappers. The goal of
this is to have less config values and less stuff the user needs to
reason about. Its getting hard to remember how setting X affects each
bank and what it needs to be for each bank, so lets just put it directly
in code.
@martinohansen martinohansen merged commit 0cc4653 into main Jan 7, 2024
2 checks passed
@martinohansen martinohansen deleted the martin/nordea-mapper branch January 7, 2024 16:50
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

Successfully merging this pull request may close these issues.

1 participant