You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstructSearchClientConfiguration:BaseConfiguration,Credentials{publicletappID:StringpublicvarapiKey:StringpublicvarwriteTimeout:TimeIntervalpublicvarreadTimeout:TimeIntervalpublicvarlogLevel:LogLevelpublicvardefaultHeaders:[String:String]?publicvarhosts:[RetryableHost]publicletcompression:CompressionAlgorithm// Should be publicinit(
appID:String,
apiKey:String,// ...)throws{// ... }
Client
All
Version
9.7.3
Relevant log output
'SearchClientConfiguration' initializer is inaccessible due to 'internal' protection level
The text was updated successfully, but these errors were encountered:
Description
The code at https://github.com/algolia/algoliasearch-client-swift/blob/main/Sources/Search/SearchClientConfiguration.swift is generated. But the generator seems to have a bug as it's missing the public access control modifier for the initializer. So Algolia SDK users can't init this struct as the initialize is internal (default). So the SearchClientConfiguration API is not usable for SDK clients.
Client
All
Version
9.7.3
Relevant log output
The text was updated successfully, but these errors were encountered: