tractr / directus-sync

A CLI tool for synchronizing the schema and configuration of Directus across various environments.
GNU General Public License v3.0
260 stars 10 forks source link

Make `directus-extension-sync` compatible with the Directus Marketplace #67

Closed EdouardDem closed 6 months ago

EdouardDem commented 6 months ago

https://docs.directus.io/extensions/sandbox/introduction.html

EdouardDem commented 6 months ago

Sandboxed extensions do not have access to database yet: https://docs.directus.io/extensions/sandbox/sandbox-sdk.html#reference

Loosie94 commented 5 months ago

Any indication when this will be added? Would be very handy :)

EdouardDem commented 5 months ago

@Loosie94 Unfortunately this is not possible yet due to Directus limitations. Endpoint extensions need to be sandboxed and don't have access to the database.

However you can add this environment variable MARKETPLACE_TRUST=all in order to force Directus to list all available extensions: https://docs.directus.io/self-hosted/config-options.html#marketplace