Skip to content

Enable @typescript-eslint/strict-boolean-expressions rule - #3872

Merged
IvanGoncharov merged 1 commit into
graphql:mainfrom
IvanGoncharov:pr_branch
Apr 1, 2023
Merged

IvanGoncharov merged 1 commit into
graphql:mainfrom
IvanGoncharov:pr_branch

Conversation

@IvanGoncharov

Copy link
Copy Markdown
Member

Motivation: Fix edge cases like in #3869
Also, I notice a similar issue in #3867 so I decided to fix it for the entire codebase.

P.S. I also result in a small but measurable speedup probably because I replaced a bunch of ObjMap with ES6 Map.

Motivation: Fix edge cases like in graphql#3869
Also I notice similar issue in graphql#3867 so I decided to fix it for the entire codebase.
@IvanGoncharov IvanGoncharov added the PR: polish 💅 PR doesn't change public API or any observed behaviour label Mar 31, 2023
@netlify

netlify Bot commented Mar 31, 2023 •

Copy link
Copy Markdown

✅ Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 528d67a
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/642700d11012d600080d3ad7
😎 Deploy Preview https://deploy-preview-3872--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions

Copy link
Copy Markdown

Hi @IvanGoncharov, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

@github-advanced-security

Copy link
Copy Markdown

You have successfully added a new CodeQL configuration .github/workflows/pull_request.yml:codeql. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@IvanGoncharov
IvanGoncharov merged commit 8c749e9 into graphql:main Apr 1, 2023
@IvanGoncharov
IvanGoncharov deleted the pr_branch branch April 1, 2023 11:42
IvanGoncharov added a commit to IvanGoncharov/graphql-js that referenced this pull request Apr 6, 2023
Context: I made this mistake in graphql#3872, fixing in this PR
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 11, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 11, 2025
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 13, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 13, 2025
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 16, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 16, 2025
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 16, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 16, 2025
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 17, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 17, 2025
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 17, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 17, 2025
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 22, 2025
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Dec 22, 2025
yaacovCR pushed a commit that referenced this pull request Dec 22, 2025
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit that referenced this pull request Dec 22, 2025
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Jan 27, 2026
Motivation: Fix edge cases like in graphql#3869
Also, I noticed a similar issue in graphql#3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request Jan 27, 2026
yaacovCR pushed a commit that referenced this pull request Feb 22, 2026
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit that referenced this pull request Feb 23, 2026
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit that referenced this pull request Feb 24, 2026
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit that referenced this pull request Feb 24, 2026
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit that referenced this pull request Feb 24, 2026
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR pushed a commit that referenced this pull request Feb 24, 2026
Motivation: Fix edge cases like in #3869
Also, I noticed a similar issue in #3867, so I fixed it for the entire codebase.

P.S. I also resulted in a small but measurable speedup, probably because I replaced a bunch of ObjMap with ES6 Map.
yaacovCR added a commit that referenced this pull request Oct 21, 2026
Motivation: Use Map lookups for response-name groups before adding collection-owned caches.

Backport of the rule-local collection changes from dcf24a0 (#3872).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: polish 💅 PR doesn't change public API or any observed behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants