-
Notifications
You must be signed in to change notification settings - Fork 368
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
Add a new receipt type #507
Comments
We probably also want I think it's best to start with a minimal version for the Receipt type. So type Receipt Plugin should be enough for the initial migration. After the migration is done, we can add fields as required. I think we should only add those fields which are necessary. At the moment we only have a use-case for |
Agreed, that sounds like the best way to introduce the receipt type at first. I don't really have a strong opinion on what |
+1 design looks good. However it’s not extensible. I recommend this:
If the name-based soln doesn’t work out long-term we can migrate much easier this way. We’d probably need a ReceiptFromPlugin method to convert plugin to a receipt in a central place ideally. |
Makes sense, I'll update the design. |
Plugin receipts currently use the
index.Plugin
type. In order to support the changes to support multiple indexes outlined in #483, it was decided that the information for which index a plugin is installed from would be stored in the receipt. In order to support this, a new receipt type should be added. Here's a pretty simple proposed structure of what a receipt type might look like:The text was updated successfully, but these errors were encountered: