typesense / typesense-dart

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

add necessary exports #123

Closed sanekyy closed 2 years ago

happy-san commented 2 years ago

Hey @sanekyy, Thanks for your contribution. Could you elaborate on your use case and why you'd need direct access to the classes defined in these files?

sanekyy commented 2 years ago

I need to have method like this:

Collection typesenseCollection() {
    return TypesenseRepository.client.collection('collectionName');
}
happy-san commented 2 years ago

Okay, thanks for sharing.

sanekyy commented 1 year ago

Hey @happy-san! When will you publish new version of package with this changes?

happy-san commented 1 year ago

Hey @sanekyy Next version is not scheduled for any time soon. In the meantime, you can use the following in your pubspec.yaml

  typesense-dart:
    git:
      url: git://github.com/typesense/typesense-dart.git