Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(querybuilder): allow comparison with null values #172

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

deangite
Copy link
Contributor

No description provided.

Copy link
Contributor

@Dramaturco Dramaturco left a comment

Choose a reason for hiding this comment

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

2 minor remarks, otherwise the code looks fine

@@ -11,7 +11,7 @@ import { generateRandomConfig } from '../testutils/generateRandomConfig'

import 'jest-fetch-mock'
import { createDataEntry } from '../testutils'
import { create } from 'lodash'
import { create, filter } from 'lodash'
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this whole line can be deleted

ComparisonQueryOperatorEnum.EQUALS as string
]
).toBe(null)
})
})

describe(ComparisonQueryOperatorEnum.NOT_EQUALS, () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe add one comment here to explain all of the ts-ignore comments below

@Dramaturco Dramaturco merged commit 364b9ea into master Jun 22, 2023
@Dramaturco Dramaturco deleted the feat/TNG-1306-null-comparison-fetchbyfilter branch June 22, 2023 11:26
github-actions bot pushed a commit that referenced this pull request Jun 22, 2023
# [10.16.0](v10.15.1...v10.16.0) (2023-06-22)

### Features

* **querybuilder:** allow comparison with null values ([#172](#172)) ([364b9ea](364b9ea))
@github-actions
Copy link

🎉 This PR is included in version 10.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants