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

Schema Change Events via Watch API #1995

Open
saltheman opened this issue Jul 24, 2024 · 2 comments
Open

Schema Change Events via Watch API #1995

saltheman opened this issue Jul 24, 2024 · 2 comments
Labels
area/api v1 Affects the v1 API area/schema Affects the Schema Language kind/feature request Something is missing kind/proposal Something fundamentally needs to change priority/2 medium This needs to be done

Comments

@saltheman
Copy link

Problem Statement

Today we get events about Relationships via the SpiceDB Watch API. It will be nice to get a stream of events
when the schema changes for example new relation added/removed, new permission added/remove, new object definition added removed, a relation subject changed etc.

Solution Brainstorm

No response

@saltheman saltheman added the kind/proposal Something fundamentally needs to change label Jul 24, 2024
@josephschorr josephschorr added priority/2 medium This needs to be done area/schema Affects the Schema Language area/api v1 Affects the v1 API kind/feature request Something is missing labels Dec 14, 2024
@josephschorr
Copy link
Member

This is already supported on the datastore side in most datastores, so we'd need to:

  1. come up with an updated API definition
  2. implement in the remaining datastores (I believe just MySQL and memdb)

@vroldanbet
Copy link
Contributor

@josephschorr MemDB is already implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api v1 Affects the v1 API area/schema Affects the Schema Language kind/feature request Something is missing kind/proposal Something fundamentally needs to change priority/2 medium This needs to be done
Projects
None yet
Development

No branches or pull requests

3 participants