typelevel / typelevel/doobie

[Feature Request] Add ability to check all but some constraints

Open
#700 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
Dominant language
Scala
Stars
2.2k
Forks
379
Avg merge
14m
Merged PRs (30d)
8

Description

There are some cases where the driver reports incorrect information back to the analysis command. As an example, postgres views are reported to be nullable even when they are on top of a non nullable table. For this case, it would be very nice to be able to check the rest of the query is valid while suppressing the null ability check.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the analysis command and its constraint checks, focusing on how nullability is validated for PostgreSQL views. Determine how callers could suppress selected checks while retaining the rest of query validation; done means the requested constraint can be excluded without disabling unrelated validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres, scala
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.