feat: add ContainmentPattern type for JSON condition matching#576
Closed
Conversation
|
This was referenced Jan 6, 2026
Contributor
Author
|
View your CI Pipeline Execution ↗ for commit 5c307a0
☁️ Nx Cloud last updated this comment at |
ccaa5de to
46b2302
Compare
f6528a8 to
a3b1845
Compare
46b2302 to
c25ab9f
Compare
a3b1845 to
2b3cca7
Compare
This was referenced Jan 8, 2026
This was referenced Jan 9, 2026
2b3cca7 to
966c7d1
Compare
c25ab9f to
8863a35
Compare
966c7d1 to
5db1a76
Compare
8863a35 to
2fd7a67
Compare
5db1a76 to
5c307a0
Compare
2fd7a67 to
5869a37
Compare
Contributor
Author
|
Folded into #572 (squashed conditional steps PR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add type-safe condition patterns for Flow steps
This PR introduces a new
ContainmentPattern<T>utility type that provides type safety for condition patterns in Flow steps. The implementation matches PostgreSQL's JSON containment semantics (@>) where:The PR enhances the Flow API by:
conditionoptions in all step methodsComprehensive type tests are included to verify the behavior of the
ContainmentPattern<T>utility and its integration with the Flow API.