1
Partial Schema Definition
Source: directus/directus#25518 · opened by @Lfillon
Summary It would be nice to have a way to be sure that the schema of an instance respects a partial schema definition. A partial schema definition defines somes collections, fields and relations that needs to be configured on a instance. It could be generated by comparing to schema snapshots (as it works with schema diff for example) and then it could be applied on any instance. Basic Example add a new endpoint to generate the PSD : POST /schema/partial-definition/generate add a new endpoint to verify if a PSD is validate : POST /schema/partial-definition/validate add a new endpoint to apply a PSD : POST /schema/partial-definition/apply Motivation From now, the only way to configure directus programmatically is to use the API or the SDK. It's a pretty complex method. The feature could allow extensions developpers to manage their collections manually with Directus Studio and then use the PSD to configure the instance on which the extension is installed with a simpl…
No pledges yet. Be the first to back this.
Comments
Similar requests
Feedback on schema migration strategy
1 vote · 0 comments
Schema Apply on Startup
3 votes · 0 comments
Improve type definitions for the extensions sdk
37 votes · 0 comments
Force Schema Diff possibility via REST
5 votes · 0 comments
Facets: Streamlined Filtering and Advanced Search Integration for Directus Collections
38 votes · 0 comments
No comments yet.