fix: lint

This commit is contained in:
Alex Yang
2026-01-19 21:27:24 -08:00
parent 34d1dfb412
commit a79d865330
3 changed files with 3 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ class ConnectionMutex {
#resolve?: () => void;
async lock(): Promise<void> {
while (this.#promise) {
while (await this.#promise) {
await this.#promise;
}

View File

@@ -149,7 +149,7 @@ class ConnectionMutex {
#resolve?: () => void;
async lock(): Promise<void> {
while (this.#promise) {
while (await this.#promise) {
await this.#promise;
}

View File

@@ -207,7 +207,7 @@ export const prismaAdapter = (prisma: PrismaClient, config: PrismaConfig) => {
if (w.operator === "ne" && w.value === null) {
const fieldAttributes = getFieldAttributes({
model,
field: w.field
field: w.field,
});
const isNullable = fieldAttributes?.required !== true;
return isNullable ? { [fieldName]: { not: null } } : {};