Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement clone on automaton states #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarinPostma
Copy link

@MarinPostma MarinPostma commented Jan 23, 2022

This pr implements clone for the helper automaton states (StartWithState, UnionState, IntersectionState, and ComplementState), so we can use these automatons with search_with_state.

I have also made the inner automatons public.

@MarinPostma MarinPostma force-pushed the automaton-states-clone branch 2 times, most recently from 9ab750d to f0f24e4 Compare January 23, 2022 22:53
@Kerollmops
Copy link
Contributor

Kerollmops commented Feb 23, 2022

Hey @BurntSushi,

We are awaiting this PR to be merged on the Meilisearch side. It doesn't introduce any breaking change and I am sure the changes that Marin is introducing here are just small oversights that you probably forget about. The library should expose those Automaton states for caller libraries to be able to work correctly.

Could you please take a small look at it?

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants