Skip to content

Support Boolean fields in conditional hydration - #739

Merged
gnawf merged 2 commits into
masterfrom
feature/boolean-conditional-hydration
Jul 22, 2026
Merged

Support Boolean fields in conditional hydration#739
gnawf merged 2 commits into
masterfrom
feature/boolean-conditional-hydration

Conversation

@mcaliskan2

@mcaliskan2 mcaliskan2 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Nadel now accepts Boolean source fields for conditional hydration.

The equals predicate accepts true and false. The startsWith and matches predicates still require a String or ID field.

Nadel reports a validation error when the equals value is not a Boolean.

Tests

Validation tests cover nullable and non-null Boolean fields. They also cover list fields, invalid values, and unsupported predicates.

An integration test confirms that Nadel runs the matching hydration and skips the other hydration.

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

Test Results

  659 files  +  659    659 suites  +659   1m 10s ⏱️ + 1m 10s
2 219 tests +2 219  1 659 ✅ +1 659  560 💤 +560  0 ❌ ±0 
2 227 runs  +2 227  1 667 ✅ +1 667  560 💤 +560  0 ❌ ±0 

Results for commit 08e0ae4. ± Comparison against base commit d2c4344.

♻️ This comment has been updated with latest results.

@mcaliskan2
mcaliskan2 requested a review from gnawf July 21, 2026 12:10
@gnawf
gnawf merged commit c33e797 into master Jul 22, 2026
6 checks passed
@mcaliskan2
mcaliskan2 deleted the feature/boolean-conditional-hydration branch July 22, 2026 05:33
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