Skip to content

Conversation

@RMNCLDYO
Copy link

@RMNCLDYO RMNCLDYO commented Oct 7, 2025

Summary

Adds delete mutations and list queries to support factory resets, bulk operations, and admin workflows.

Added

DELETE Mutations

  • deleteCustomer({ userId })
  • deleteSubscription({ id })
  • deleteProduct({ id })

List Queries

  • listCustomers() - List all customers
  • listSubscriptions({ includeEnded? }) - List subscriptions with optional filter
    • Follows listProducts({ includeArchived? }) pattern
    • Filters out ended subscriptions by default

Use Cases

  • Factory reset functionality
  • Admin dashboards and reporting
  • Bulk operations without N individual lookups

Breaking Changes

None.

Add DELETE mutations:
- deleteCustomer({ userId })
- deleteSubscription({ id })
- deleteProduct({ id })

Add list queries:
- listCustomers()
- listSubscriptions({ includeEnded? })

Enables factory resets, bulk operations, and admin workflows.
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

Successfully merging this pull request may close these issues.

1 participant