You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Note that we manually set the knex/database connection here.
According to the directus team, this approach can be used at all times.
Refactor our handler function to use the proper type. This makes type hinting for all method arguments available as well as allows us to easily specify the payload. As can be seen here:
We have two recent learnings that we would like to see applied to all of our existing Directus extensions (mostly hooks)
website/directus-cms/extensions/directus-extension-programmierbar-bundle/src/create-profile/index.ts
Line 26 in f60735a
website/directus-cms/extensions/directus-extension-programmierbar-bundle/src/create-profile/index.ts
Line 17 in f60735a