bitemyapp / bitemyapp/esqueleto
`==.` and `/=.` should use `IS NULL` if possible?
- Dominant language
- Haskell
- Stars
- 399
- Forks
- 107
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
It's a bit of a footgun to write `table ^. SomeField ==. val Nothing`, since this expression is always equivalent to `NULL` in SQL due to trivalued logic.
We could instead check (somehow) if we're doing a comparison to a `Nothing` and change the expression to `IS NULL` or `IS NOT NULL`.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by locating the implementations of ==. and /=. and the SQL expression rendering path, then determine how comparisons involving Nothing can be recognized and covered; done means producing IS NULL or IS NOT NULL where appropriate without changing other comparisons.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100