Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Introduce the depth method on FilterCondition #421

Merged
merged 5 commits into from
Dec 9, 2021
Merged

Introduce the depth method on FilterCondition #421

merged 5 commits into from
Dec 9, 2021

Conversation

Kerollmops
Copy link
Member

This PR introduces the depth method on the FilterCondition type to be able to react to it. It is meant to be used to reject filters that go too deep and can make the engine stack overflow.

@Kerollmops Kerollmops requested a review from irevoire December 6, 2021 16:37
irevoire
irevoire previously approved these changes Dec 7, 2021
Copy link
Member

@irevoire irevoire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

irevoire
irevoire previously approved these changes Dec 7, 2021
@Kerollmops
Copy link
Member Author

Thank you for the review!
bors merge

@bors
Copy link
Contributor

bors bot commented Dec 9, 2021

@bors bors bot merged commit 80dcfd5 into main Dec 9, 2021
@bors bors bot deleted the filter-depth branch December 9, 2021 10:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants