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 query_exactly_one #214

Closed

Conversation

baranyildirim
Copy link
Contributor

Implement query exactly one to make it easier to work with single-fact queries.
Added relevant doctest and unittests. This should close #187
As a side note, a lot of errors in Token::Error don't expose the underlying error (e.g. RunLimit) in their error message. Is this intentional?

@divarvel
Copy link
Collaborator

LGTM.

tbf the whole Token::Error hierarchy would need a refresh

@divarvel
Copy link
Collaborator

The capi build failure is being worked on, I think

@divarvel
Copy link
Collaborator

If that’s ok with you, I will rebase the PR on top of main

@divarvel
Copy link
Collaborator

Superseded by #260

thanks for opening this PR and sorry for the time it stayed open, work on the v5 branch imposed a kind of freeze on main

@divarvel divarvel closed this Jan 17, 2025
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.

query_exactly_one()
2 participants