Fix broken graphql playground (#13287)

Fixes https://github.com/twentyhq/twenty/issues/12991
Also fixes a regression on main where updateEvent are not correctly emit
when calling repository.update()
This commit is contained in:
Charles Bochet
2025-07-19 09:32:26 +02:00
committed by GitHub
parent 19dad8f23a
commit 62202af1a9
4 changed files with 24 additions and 17 deletions

View File

@ -15,6 +15,10 @@ export const DateScalarType = new GraphQLScalarType({
return new Date(parseInt(ast.value, 10));
}
if (ast.kind === Kind.STRING) {
return new Date(ast.value);
}
return null;
},
});