-
Notifications
You must be signed in to change notification settings - Fork 377
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
Remove enforced unique validation on SKU #2029
Remove enforced unique validation on SKU #2029
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ryanmitchell @alecritson i given a quick look, this doesnt seems to be the correct change
do let me know if I got it wrong |
This reverts commit d2ad394.
@ryanmitchell No problem, I have reverted the change. |
Ok, well the issue still stands, if you dont want unique SKUs currently the system still enforces that. |
Yes it will need to be revisited if the original PR didn't cover all use cases. |
This PR removes the enforced unique validation on SKU.
Dev's can overwrite the SKU validation using
extendSkuValidation()
hook, but the line removed in this PR still forces unique validation even when you don't want it.