permify
permify copied to clipboard
Create an API which allows to update schema partially
Is your feature request related to a problem? Please describe. I have less frequent but essential schema changes on my project for which i have to change full schema and for that too I have to handle it soley from BE.
Describe the solution you'd like An API which allows us to update the partial schema (relation and action ) would work
we would like to have this feature as well. here is our use case
- we have multiple teams developing new api endpoints on daily basis
- each new endpoint may require a new
actiondefined in the schema - we would like to enable each team to add new
actionsby themselves while maintaining theentityandrelationcentrally
with that being said, it would be great if we can update the schema partially - to be specific, add new actions on existing entities without having to upload the whole schema
Hello @liuhx1027 and @arihantjain8118, a feature like this can be implemented. It's validated by merging with the previous version before any partial entity change, then published as a new version with the merged model. Because it is versioned as if it were a newly created model, it can't be updated, preserving the cache system intact. We will add this to our roadmap.