meilisearch-swift icon indicating copy to clipboard operation
meilisearch-swift copied to clipboard

No public initializers for `KeyParams` and `KeysQuery` structs.

Open mannuch opened this issue 3 years ago • 1 comments
trafficstars

Hello!

The KeyParams and KeysQuery structs do not have publicly accessible initializers. This implies that any code outside the MeiliSearch module cannot create new instances of these structs.

This works in direct contrast to examples laid out in the Meilisearch documentation such as when it displays constructing new KeyParams instances to pass to the POST /keys endpoint, which can be seen here, if you select Swift as the client language.

Thanks!

meilisearch-swift v0.14.1

mannuch avatar Oct 04 '22 22:10 mannuch

Hello @mannuch thanks for having opened this issue! 😄 Reviewing your PR today!

curquiza avatar Oct 05 '22 15:10 curquiza