Skip to content

Conversation

@lwjohnst86
Copy link
Member

@lwjohnst86 lwjohnst86 commented Sep 29, 2025

Description

Exclude by jsonpath, as well as implement AND logic for type and jsonpath.

I switched to using Optional typing.

Closes #56, closes #75, closes #102

Needs an in-depth review.

Checklist

  • Ran just run-all

@lwjohnst86 lwjohnst86 moved this from Todo to In Review in Iteration planning Sep 29, 2025
@martonvago
Copy link
Contributor

Any reason for not using https://jg-rp.github.io/python-jsonpath/ to handle JSON paths? That should be able to handle JSON path selectors like wildcards, plus much more. (Some notes about this on issues #55 and #56 -- may or may not be useful ☺️ )

@lwjohnst86
Copy link
Member Author

@martonvago I just noticed that after making this! Yea, I'll check into that and revise this PR to use it 😁

@lwjohnst86 lwjohnst86 moved this from In Review to In Progress in Iteration planning Sep 29, 2025
@lwjohnst86 lwjohnst86 moved this from In Progress to In Review in Iteration planning Sep 29, 2025
@lwjohnst86 lwjohnst86 moved this from In Review to In Progress in Iteration planning Sep 30, 2025
Copy link
Member

@signekb signekb left a comment

Choose a reason for hiding this comment

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

Just a reminder: Based on the renaming in #89, the move from target to jsonpath should be implemented here as well (also in the PR title and description) 🌻

@lwjohnst86 lwjohnst86 moved this from In Progress to In Review in Iteration planning Oct 1, 2025
@lwjohnst86 lwjohnst86 requested a review from martonvago October 1, 2025 16:50
@lwjohnst86
Copy link
Member Author

@martonvago done! Some JSONPath queries don't work (see tests) and I'm not sure why.

@lwjohnst86
Copy link
Member Author

lwjohnst86 commented Oct 1, 2025

@signekb I'll update them once your PR has been merged. Done ☺️

@lwjohnst86 lwjohnst86 changed the title feat: ✨ add exclusion by JSON path target feat: ✨ add exclusion by jsonpath Oct 9, 2025
@lwjohnst86 lwjohnst86 moved this from In Progress to In Review in Iteration planning Oct 9, 2025
@lwjohnst86 lwjohnst86 requested a review from martonvago October 9, 2025 13:19
Copy link
Contributor

@martonvago martonvago left a comment

Choose a reason for hiding this comment

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

Very nice, looking great!! ⭐
Just some minor comments

@github-project-automation github-project-automation bot moved this from In Review to In Progress in Iteration planning Oct 10, 2025
@lwjohnst86 lwjohnst86 moved this from In Progress to In Review in Iteration planning Oct 14, 2025
Copy link
Contributor

@martonvago martonvago left a comment

Choose a reason for hiding this comment

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

Just a small thing, otherwise great!

@github-project-automation github-project-automation bot moved this from In Review to In Progress in Iteration planning Oct 14, 2025
@lwjohnst86 lwjohnst86 moved this from In Progress to In Review in Iteration planning Oct 14, 2025
@lwjohnst86 lwjohnst86 requested a review from martonvago October 14, 2025 10:08
Copy link
Contributor

@martonvago martonvago left a comment

Choose a reason for hiding this comment

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

Yay!! 👏 👏 👏

@github-project-automation github-project-automation bot moved this from In Review to In Progress in Iteration planning Oct 14, 2025
@lwjohnst86 lwjohnst86 merged commit 3d8aa26 into main Oct 14, 2025
6 checks passed
@lwjohnst86 lwjohnst86 deleted the feat/add-target-exclusion branch October 14, 2025 11:11
@github-project-automation github-project-automation bot moved this from In Progress to Done in Iteration planning Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Simplify exclude_by_type() Implement exclusion by target Resolve JSON paths for excluding issues

4 participants