Is your feature request related to a problem? Please describe.
In the next version of Typesense (0.23) we're supporting in-place schema changes to collections through a PATCH /collections/:name end-point. We need to add this method to the client.
Describe the solution you'd like
Please see the examples I've created for the various clients (not all of them are implemented yet) here.
For now you can change only the fields (can't change the name or other properties like default_sorting_field etc. yet). So we need a UpdateSchema wrapper class that's a subset of the Schema class (only containing fields) with which we can call the .update().
Is your feature request related to a problem? Please describe.
In the next version of Typesense (0.23) we're supporting in-place schema changes to collections through a
PATCH /collections/:name
end-point. We need to add this method to the client.Describe the solution you'd like
Please see the examples I've created for the various clients (not all of them are implemented yet) here.
The Dart version looks like this:
For now you can change only the fields (can't change the name or other properties like
default_sorting_field
etc. yet). So we need aUpdateSchema
wrapper class that's a subset of theSchema
class (only containing fields) with which we can call the.update()
.cc @happy-san