Skip to content

Conversation

@jechol
Copy link
Contributor

@jechol jechol commented Dec 30, 2025

Summary

Adds comprehensive tests for the is_distinct_from/2 and is_not_distinct_from/2 operators introduced in ash-project/ash#2493.

Changes

  • Added test suite covering:
    • Column compared to nil values
    • Column compared to non-nil values
    • Literal value comparisons (including nil IS NOT DISTINCT FROM nil)

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@jechol jechol force-pushed the feat/is-distinct-from branch 3 times, most recently from 5412526 to d20f389 Compare December 30, 2025 06:46
Add comprehensive integration tests for is_distinct_from and is_not_distinct_from operators with PostgreSQL.

- Test is_distinct_from with nil values
- Test is_not_distinct_from with nil values
- Test is_distinct_from with non-nil values
- Test is_not_distinct_from with non-nil values

Tests verify that NULL-safe comparisons work correctly in PostgreSQL queries.

Related to ash-project/ash#2493
@jechol jechol force-pushed the feat/is-distinct-from branch from d20f389 to a289ed5 Compare December 30, 2025 06:47
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.

1 participant