keystonejs / keystone

The most powerful headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
8.98k stars 1.13k forks source link

Fix UUID's breaking relationship filters with POSTGRES #9155

Closed dcousens closed 1 week ago

dcousens commented 1 month ago

As described in https://github.com/keystonejs/keystone/issues/8884, this pull request prevents malformed UUIDs from being added to the search query, which then results in Prisma throwing an error breaking the search filters.

codesandbox-ci[bot] commented 1 month ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6303d1f9945a6837f8b8bebd1602697f257f6021:

Sandbox Source
@keystone-6/sandbox Configuration
dcousens commented 1 month ago

Only thing blocking this is some form of testing, whether manually verified or automated - I intend to try to do that next week