- 🇮🇹Italy lussoluca Italy
Thanks for the idea, I've used it on 📌 Prepare for the first release Active .
I've temporary removed the Drush comand, I'll add it back soon.
Automatically closed - issue fixed for 2 weeks with no activity.
SearchApiTypesenseService is registered as a service, search_api_typesense.api, however it doesn't correctly work as a service.
It can't be used until its setAuthorization() is called. Without that, any call to its methods will crash because connection() tries to create a client factory without authorisation.
Once setAuthorization() has been called, the SearchApiTypesenseService is tied to a particular backend. You can change it to another backend by calling setAuthorization() again, but because services are singletons, it means that you always have to call it as another call could potentially have changed the authorisation details on the service!
I'm not quite sure what a better pattern would be, but this class itself shouldn't be a service.
Maybe something like the way logger channels have a factory class which is a service -- https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Logger%21...
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thanks for the idea, I've used it on 📌 Prepare for the first release Active .
I've temporary removed the Drush comand, I'll add it back soon.
Automatically closed - issue fixed for 2 weeks with no activity.