From d76ae17bc875b95b19665ee4c7355369d5009388 Mon Sep 17 00:00:00 2001 From: Mikhail Swift Date: Tue, 26 Sep 2023 16:16:12 -0500 Subject: [PATCH] fix: add Time type definition for gqlgen Gqlgen gets angry because it doesn't recognize the Time datatype. The solution is to define a separate graphql schema with the Time type defined before it generates the rest of our schema for us. See https://github.com/99designs/gqlgen/issues/1463 We already had gqlgen configured to look for an archivista.graphql file for this reason (see gqlgen.yaml), but apparently we did not check it in. --- archivista.graphql | 1 + 1 file changed, 1 insertion(+) create mode 100644 archivista.graphql diff --git a/archivista.graphql b/archivista.graphql new file mode 100644 index 00000000..2ef355d9 --- /dev/null +++ b/archivista.graphql @@ -0,0 +1 @@ +scalar Time