fix(db-postgres): querying on array wtihin a relationship field (#8152)

## Description

Fixes https://github.com/payloadcms/payload/issues/6037

- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md)
document in this repository.

## Type of change

<!-- Please delete options that are not relevant. -->

- [x] Bug fix (non-breaking change which fixes an issue)

## Checklist:

- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] Existing test suite passes locally with my changes
This commit is contained in:
Sasha
2024-09-10 15:44:38 +03:00
committed by GitHub
parent df023a52fd
commit 0c563ebd73
5 changed files with 90 additions and 4 deletions

View File

@@ -54,8 +54,8 @@ export interface UserAuthOperations {
*/
export interface Post {
id: string;
customClientField?: string | null;
customServerField?: string | null;
text?: string | null;
serverTextField?: string | null;
richText?: {
root: {
type: string;