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

feat: allow loading alternate receipts #234

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

mistydemeo
Copy link
Contributor

@mistydemeo mistydemeo commented Dec 16, 2024

This allows loading receipts that may exist under alternate app names. This is most useful if an app may have been renamed, and the older/newer versions use different naems from each other.

load_receipt_as doesn't change the internal name for the app, so it's safe to call multiple times with different names.

Edit: added a second method to make it possible to override the name that was parsed from a receipt.

This allows loading receipts that may exist under alternate app names. This is
most useful if an app may have been renamed, and the older/newer versions use
different naems from each other.

`load_receipt_as` doesn't change the internal name for the app, so it's safe
to call multiple times with different names.
This allows the source's name to be overridden if the receipt had been
loaded from another name.
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.

2 participants