Dan Ribbens

Results 105 comments of Dan Ribbens

It most definitely *should* create that unique index for you. It should try to make the index everytime Payload starts if it isn't there already. If you drop the collection...

I don't see anything wrong here. You could remove `index: true` as it is redundant when also using `unique`. It should not make a difference, but could be good to...

We've looked in to this a few times in the past when indexes didn't quite match up. We've kind of skirted this one and gotten away with doing it this...

I haven't been able to prioritize writing the script to add indexes outside of mongoose yet. If anyone has time I would be able to give it some attention for...

I was able to recreate the problem where indexes are not being made on start and found it to be a difference between mongo 4.4.15 and 5.0.3. This is the...

With #791 we now create indexes on startup for mongoDB 5. We are working on adding the function that can be used in production that will give more visibility and...

Right now the `create` handler writes the uploaded file so that the validation can be performed on it in the `beforeValidation` hook. That means the file is already written before...

I love the integration tests you added for min/max length. I'm a bit cautious that this is something we should handle though. I reviewed the flmnt/graphemer package. It isn't a...

@lksfrn is reporting this issue again. **Possible solution**: add slate to peerDependency with a version that works for both Payload and next/image.

Hey @AlessioGr, we released the fix for this one. Thank you for reporting it!