diff --git a/backend/LexBoxApi/GraphQL/GraphQlSetupKernel.cs b/backend/LexBoxApi/GraphQL/GraphQlSetupKernel.cs index abd27c078..97d7585a0 100644 --- a/backend/LexBoxApi/GraphQL/GraphQlSetupKernel.cs +++ b/backend/LexBoxApi/GraphQL/GraphQlSetupKernel.cs @@ -50,10 +50,6 @@ public static void AddLexGraphQL(this IServiceCollection services, IHostEnvironm options.IncludeExceptionDetails = true; }) .AddType() - .AddType(new DateTimeType("DateTime")) - .AddType(new UuidType("UUID")) - .AddType(new DateTimeType("timestamptz")) - .AddType(new UuidType("uuid")) .AddInstrumentation(options => { options.IncludeDocument = true; diff --git a/frontend/schema.graphql b/frontend/schema.graphql index 06060b836..66620c933 100644 --- a/frontend/schema.graphql +++ b/frontend/schema.graphql @@ -1248,13 +1248,10 @@ directive @listSize("The `assumedSize` argument can be used to statically define "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions." directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR +"The `DateTime` scalar represents an ISO-8601 compliant date time type." scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time") "The `Long` scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1." scalar Long -scalar UUID - -scalar timestamptz @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time") - -scalar uuid \ No newline at end of file +scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") \ No newline at end of file