-
-
Notifications
You must be signed in to change notification settings - Fork 52
feat: expose purgeCache #229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great overall. I ran tests against production purging individual objects and folders with 100s of objects and both are working well.
The folder detection is wrong (see other comment) so I get "object not found" for each folder currently, but after that's fixed this should work as expected
🚀 Preview Release Statusfalse Last updated: 2025-08-29T15:38:40Z |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. @itslenny what do you think? I think your comments were addressed!
Moved here: supabase/supabase-js#1742 @itslenny please can you take a last look at that PR? |
What kind of change does this PR introduce?
The goal is to expose the purgeCache operation from the API to the client libraries.
What is the current behavior?
There's no support this in the client libraries.
What is the new behavior?
The goal is to allow this to be exposed in the supabase-js client e.g:
Additional context
Add any other context or screenshots.