Skip to content

Add a convenient way to toggle experimental features #589

@ellnix

Description

@ellnix

I was looking into implementing meilisearch/meilisearch-rails#316, but toggling an experimental feature currently requires a lot of smelly code.

Perhaps Client#set_experimental_feature!(feature, state)?

We already have tests on experimental features, and the test helper is currently the only place where we have a convenient way to toggle these features (and the implementation is not pretty): https://github.com/meilisearch/meilisearch-ruby/blob/main/spec/support/experimental_feature_helpers.rb

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions