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

fix: income now recognized in RecentEnvelopes and transaction import #790

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

morremeyer
Copy link
Member

The RecentEnvelopes field for Account resources and the proposed Envelope for
ImportPreviews now also consider income transactions.

Income is represented as the nil UUID in the Envelope ID, meaning that the
RecentEnvelopes field will contain an entry with all zero-values for Income.

This will be improved in API v2 to replace the ID for income with a null value.

Resolves #773.

The RecentEnvelopes field for Account resources and the proposed Envelope for
ImportPreviews now also consider income transactions.

Income is represented as the nil UUID in the Envelope ID, meaning that the
RecentEnvelopes field will contain an entry with all zero-values for Income.

This will be improved in API v2 to replace the ID for income with a `null` value.
@morremeyer morremeyer requested a review from a team as a code owner October 8, 2023 15:08
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (34d3180) 81.73% compared to head (aaa6196) 81.85%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
+ Coverage   81.73%   81.85%   +0.12%     
==========================================
  Files          37       37              
  Lines        3713     3710       -3     
==========================================
+ Hits         3035     3037       +2     
+ Misses        578      574       -4     
+ Partials      100       99       -1     
Files Coverage Δ
pkg/controllers/import.go 83.48% <100.00%> (+1.82%) ⬆️
pkg/models/account.go 86.76% <100.00%> (+0.19%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@morremeyer morremeyer merged commit 5ae8a96 into main Oct 8, 2023
6 checks passed
@morremeyer morremeyer deleted the fix/income-recent-envelopes branch October 8, 2023 15:12
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.

Recent Envelopes: Does not recognize income as most common transaction
1 participant