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

Consider making ItemDetails.type extensible #49

Open
benjycui opened this issue Oct 18, 2022 · 1 comment
Open

Consider making ItemDetails.type extensible #49

benjycui opened this issue Oct 18, 2022 · 1 comment

Comments

@benjycui
Copy link

ItemDetails.type only supports two values, e.g. "product" and "subscription".

enum ItemType {
  "product",
  "subscription",
};

What if a store provides more types of digital products? In Microsoft Store, there are five types of products.

So, do you think that it is possible to make ItemDetails.type extensible?

@rsolomakhin
Copy link
Collaborator

Yes, that sounds reasonable. Please go ahead and implement the ItemType enums that you need. We can add them to the spec at that point.

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

No branches or pull requests

2 participants