typesense-api-spec icon indicating copy to clipboard operation
typesense-api-spec copied to clipboard

fix: only require at least 1 field to be present in a collection update

Open jackwilsdon opened this issue 1 month ago • 0 comments

Change Summary

The collection update endpoint only requires that at least one property is present - "fields" is not strictly required (e.g. when doing metadata updates).

https://github.com/typesense/typesense/blob/1c5804194175210b3fbdd4972ba3cff2bbdf85cf/src/core_api.cpp#L301-L367

PR Checklist

jackwilsdon avatar Nov 14 '25 13:11 jackwilsdon