Error when loading single entitty "ID!" used in position expecting type "IDFilter"

Open
#9,772 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
graphql, node.js, postgresql, typescript
Domain
api, backend, databases

Research direction

Start by reproducing the reported case with keystone --no-db-push, PostgreSQL 17, a UUID primary key, and the supplied screenshots as reference. Trace the request that loads a single entity and identify why an ID! value is being used where IDFilter is expected; done means the entity loads successfully with UUID identifiers.

Written by the indexing model from the issue text.

Description

run keystone --no-db-push
in postgre use PK uuid
have some fake data

Show Single entity

watch screenshots

node 20
keystone 6
postgres 17

Image Image Image Image Image Image Image
Dominant language
TypeScript
Stars
10k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from keystonejs/keystone

All issues in keystonejs/keystone

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.