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

Products deleted since last build are not deleted during incremental builds #10

Open
kasperkristensen opened this issue Oct 29, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@kasperkristensen
Copy link
Collaborator

What
Deleted products are not deleted on incremental builds, as querying GET /store/products?deleted_at[gte]=some_date always returns an empty products array. This is an issue related to core not returning deleted products.

@kasperkristensen kasperkristensen added the bug Something isn't working label Oct 29, 2021
@Wooody82
Copy link

Wooody82 commented Sep 8, 2022

I think incremental builds not supported yet!.

@kasperkristensen
Copy link
Collaborator Author

Incremental builds are supported in the current version of the plugin, but it does not handle deleted products. So if you've deleted products, you will still need to clear your cache and rebuild to get an accurate representation of your store products.

@Wooody82
Copy link

Wooody82 commented Sep 8, 2022

Hi @kasperkristensen
Well I tried and time for every deploy almost 1m in Netlify .. But I tried to host the code in Gatsby cloud and tried to trigger the web hook after change content for product and rebuild and deploy took less than 6s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@Wooody82 @kasperkristensen and others