typesense / typesense-dart

Dart client for Typesense
https://typesense.org/docs
Apache License 2.0
73 stars 16 forks source link

Add more models #117

Open guenth39 opened 2 years ago

guenth39 commented 2 years ago

Is your feature request related to a problem? Please describe.

I miss the known type safety by missing models for SearchParameters and SearchResponse, a map is always not as easy to use and more error prone than a model.

Describe the solution you'd like

Add the models for SearchParameters and SearchResponse.

happy-san commented 2 years ago

Hi @guenth39 Thank you for creating this issue. I've had this on my TODO list for a while now, just haven't gotten around to implement it due to time limitations. I can definitely guide you if you feel like contributing to the project.

kishorenc commented 2 years ago

These model definitions are available as part of the open api spec and that can be used to generate the models.