Nicola Krumschmidt

Results 23 comments of Nicola Krumschmidt

Just curious, how would you use such a generated `schema.ts` file? Shouldn't the interfaces be exported or something? 🤔

@Brian-Hofmann Thanks for re-opening. Since Directus defaults to "some" for filters on o2m relations and you are trying to do something like "give me the items where some o2m value...

> I suggest that we add a warning to `create-directus-extension` when `npm init` is using an outdated version, similar to the notification in [`create-directus-project`](https://github.com/directus/create-directus-project/blob/df0be7a02a1fef9d04e7de03341b86b624fa0dc1/lib/index.js#L100-L116). > (Happy to submit a pull...

There is no try-catch-block because the flows manager will call the operation connected to the `reject` anchor of the current operation whenever an error is thrown. In that case it...

@BartTactick Very interesting! If you remove the `async` keyword, an uncaught exception is triggered (using `Promise.reject()` should be equivalent to your approach): ```js new ivm.Reference(() => { return Promise.reject(); }),...

Should be doable 😁 I think Knex is already doing something similar for default constraints, so there is no real reason to not do the abstraction for unique indices within...

I'm probably missing something, but wouldn't it make sense to simply update `modified_on` when a file is replaced? I feel like I would expect a replacement to also be a...

@that1matt Got it, thanks! This sound like something that is usually solved by storing a checksum/hash of the file (I thought we already had something like this), which has the...

@hanneskuettner Provided the chunked upload still goes through the Directus instance, couldn't we just calculate the hash on the fly and update it as new chunks become available? Also, we...

While we can't manually safe and restore the hasher instance, couldn't we just keep it around in memory? I haven't checked it, but I would assume that the hasher instance...