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

Preserve original transaction names when enriching #1556

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

zachgoll
Copy link
Collaborator

A couple of data quality updates in this PR:

  • Make name required on Account::Entry - since users are able to directly edit this value, enforcing non-nullability makes sense and prevents data quality errors that have come up recently
  • When enriching transactions, store enriched_name rather than overwriting name. This will allow us to preserve "rollback" abilities in the future if a user wants to revert (or just see) the original txn name before enrichment was applied (increase user confidence in enabling the enrichment feature)
  • All transactions coming from Plaid accounts will be automatically enriched, regardless of user preference as part of the overall "transformation" of Plaid data to Maybe data. Manual transactions will not be enriched unless explicitly enabled by the user.

WHEN 'Account::Valuation' THEN 'Balance update'
ELSE 'Unknown entry'
END
WHERE name IS NULL
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only updating "bad data" that currently exists

@zachgoll zachgoll merged commit 7be6a37 into main Dec 19, 2024
5 checks passed
@zachgoll zachgoll deleted the zachgoll/merchant-updates branch December 19, 2024 15:16
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