diff --git a/graphql/e2e/schema/generatedSchema.graphql b/graphql/e2e/schema/generatedSchema.graphql index 10ec75f3b8a..60a90496db6 100644 --- a/graphql/e2e/schema/generatedSchema.graphql +++ b/graphql/e2e/schema/generatedSchema.graphql @@ -11,6 +11,17 @@ type Author { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/gqlschema.go b/graphql/schema/gqlschema.go index 953888aff66..c37a6129d0d 100644 --- a/graphql/schema/gqlschema.go +++ b/graphql/schema/gqlschema.go @@ -60,6 +60,17 @@ const ( // GraphQL valid and for the completion algorithm to use to build in search // capability into the schema. schemaExtras = ` +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/authorization.graphql b/graphql/schema/testdata/schemagen/output/authorization.graphql index 69939418ccd..8b5246ec43e 100644 --- a/graphql/schema/testdata/schemagen/output/authorization.graphql +++ b/graphql/schema/testdata/schemagen/output/authorization.graphql @@ -22,6 +22,17 @@ type User @auth(update: {rule:"query($X_MyApp_User: String!) { \n queryUser(f # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/comments-and-descriptions.graphql b/graphql/schema/testdata/schemagen/output/comments-and-descriptions.graphql index 83624dc4a6b..f8a331c6670 100755 --- a/graphql/schema/testdata/schemagen/output/comments-and-descriptions.graphql +++ b/graphql/schema/testdata/schemagen/output/comments-and-descriptions.graphql @@ -27,6 +27,17 @@ enum AnEnum { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/custom-mutation.graphql b/graphql/schema/testdata/schemagen/output/custom-mutation.graphql index dd03fcc17eb..30d06b36534 100644 --- a/graphql/schema/testdata/schemagen/output/custom-mutation.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-mutation.graphql @@ -15,6 +15,17 @@ input UserInput { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/custom-nested-types.graphql b/graphql/schema/testdata/schemagen/output/custom-nested-types.graphql index 8fc1a2ae8f7..82b69fd2c19 100755 --- a/graphql/schema/testdata/schemagen/output/custom-nested-types.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-nested-types.graphql @@ -32,6 +32,17 @@ input CarInput { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/custom-query-mixed-types.graphql b/graphql/schema/testdata/schemagen/output/custom-query-mixed-types.graphql index 8ed1dbe3052..8c66666364c 100644 --- a/graphql/schema/testdata/schemagen/output/custom-query-mixed-types.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-query-mixed-types.graphql @@ -16,6 +16,17 @@ type Car { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/custom-query-not-dgraph-type.graphql b/graphql/schema/testdata/schemagen/output/custom-query-not-dgraph-type.graphql index ea2d63f4f3c..0b4257e95e9 100755 --- a/graphql/schema/testdata/schemagen/output/custom-query-not-dgraph-type.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-query-not-dgraph-type.graphql @@ -15,6 +15,17 @@ input UserInput { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/custom-query-with-dgraph-type.graphql b/graphql/schema/testdata/schemagen/output/custom-query-with-dgraph-type.graphql index 81a13f4a00d..8f2974e6d85 100755 --- a/graphql/schema/testdata/schemagen/output/custom-query-with-dgraph-type.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-query-with-dgraph-type.graphql @@ -11,6 +11,17 @@ type User { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/deprecated.graphql b/graphql/schema/testdata/schemagen/output/deprecated.graphql index f5d9d047c84..4dd03302323 100755 --- a/graphql/schema/testdata/schemagen/output/deprecated.graphql +++ b/graphql/schema/testdata/schemagen/output/deprecated.graphql @@ -11,6 +11,17 @@ type Atype { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-on-concrete-type-with-interfaces.graphql b/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-on-concrete-type-with-interfaces.graphql index a27c9b2b9ab..523c90381cb 100755 --- a/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-on-concrete-type-with-interfaces.graphql +++ b/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-on-concrete-type-with-interfaces.graphql @@ -25,6 +25,17 @@ type Director { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-with-interfaces.graphql b/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-with-interfaces.graphql index 7d00346909a..1a65c7663ef 100755 --- a/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-with-interfaces.graphql +++ b/graphql/schema/testdata/schemagen/output/dgraph-reverse-directive-with-interfaces.graphql @@ -25,6 +25,17 @@ type Director { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/field-with-id-directive.graphql b/graphql/schema/testdata/schemagen/output/field-with-id-directive.graphql index ec9f4131ba4..06d759cfbf7 100755 --- a/graphql/schema/testdata/schemagen/output/field-with-id-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/field-with-id-directive.graphql @@ -24,6 +24,17 @@ type Genre { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/field-with-reverse-predicate-in-dgraph-directive.graphql b/graphql/schema/testdata/schemagen/output/field-with-reverse-predicate-in-dgraph-directive.graphql index 8170adc7bf9..a8aaef66a3f 100755 --- a/graphql/schema/testdata/schemagen/output/field-with-reverse-predicate-in-dgraph-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/field-with-reverse-predicate-in-dgraph-directive.graphql @@ -18,6 +18,17 @@ type MovieDirector { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse-with-interface-having-directive.graphql b/graphql/schema/testdata/schemagen/output/hasInverse-with-interface-having-directive.graphql index 3af0aa053b2..fea73078f92 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse-with-interface-having-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse-with-interface-having-directive.graphql @@ -35,6 +35,17 @@ type Answer implements Post { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse-with-interface.graphql b/graphql/schema/testdata/schemagen/output/hasInverse-with-interface.graphql index 9cd0c4e33a4..890f5beb546 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse-with-interface.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse-with-interface.graphql @@ -36,6 +36,17 @@ type Answer implements Post { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse-with-type-having-directive.graphql b/graphql/schema/testdata/schemagen/output/hasInverse-with-type-having-directive.graphql index 3af0aa053b2..fea73078f92 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse-with-type-having-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse-with-type-having-directive.graphql @@ -35,6 +35,17 @@ type Answer implements Post { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse.graphql b/graphql/schema/testdata/schemagen/output/hasInverse.graphql index 16eb8798bcb..973c45d71f7 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse.graphql @@ -16,6 +16,17 @@ type Author { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql b/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql index 83d833fc752..6e0e34a176f 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql @@ -16,6 +16,17 @@ type Author @withSubscription { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasfilter.graphql b/graphql/schema/testdata/schemagen/output/hasfilter.graphql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql b/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql index 02daf1fec8f..61799ada444 100755 --- a/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql @@ -18,6 +18,17 @@ type Product { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/interface-with-dgraph-pred.graphql b/graphql/schema/testdata/schemagen/output/interface-with-dgraph-pred.graphql index 95d585e52d4..674163a9661 100644 --- a/graphql/schema/testdata/schemagen/output/interface-with-dgraph-pred.graphql +++ b/graphql/schema/testdata/schemagen/output/interface-with-dgraph-pred.graphql @@ -25,6 +25,17 @@ interface Person { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/interface-with-id-directive.graphql b/graphql/schema/testdata/schemagen/output/interface-with-id-directive.graphql index 11838627d26..692e24c008c 100755 --- a/graphql/schema/testdata/schemagen/output/interface-with-id-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/interface-with-id-directive.graphql @@ -20,6 +20,17 @@ type Library { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/interface-with-no-ids.graphql b/graphql/schema/testdata/schemagen/output/interface-with-no-ids.graphql index 3521e43a7cf..3019e1f7b57 100755 --- a/graphql/schema/testdata/schemagen/output/interface-with-no-ids.graphql +++ b/graphql/schema/testdata/schemagen/output/interface-with-no-ids.graphql @@ -20,6 +20,17 @@ type User { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/interfaces-with-types-and-password.graphql b/graphql/schema/testdata/schemagen/output/interfaces-with-types-and-password.graphql index e1d292684c4..ef716ab748d 100755 --- a/graphql/schema/testdata/schemagen/output/interfaces-with-types-and-password.graphql +++ b/graphql/schema/testdata/schemagen/output/interfaces-with-types-and-password.graphql @@ -42,6 +42,17 @@ type Starship { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/interfaces-with-types.graphql b/graphql/schema/testdata/schemagen/output/interfaces-with-types.graphql index 8cfadba62ca..3b83813ba16 100755 --- a/graphql/schema/testdata/schemagen/output/interfaces-with-types.graphql +++ b/graphql/schema/testdata/schemagen/output/interfaces-with-types.graphql @@ -42,6 +42,17 @@ type Starship { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/no-id-field-with-searchables.graphql b/graphql/schema/testdata/schemagen/output/no-id-field-with-searchables.graphql index bc4f0b8ce1e..7c6a57256a7 100755 --- a/graphql/schema/testdata/schemagen/output/no-id-field-with-searchables.graphql +++ b/graphql/schema/testdata/schemagen/output/no-id-field-with-searchables.graphql @@ -10,6 +10,17 @@ type Post { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/no-id-field.graphql b/graphql/schema/testdata/schemagen/output/no-id-field.graphql index fe3d9a970f4..b1fd9980103 100755 --- a/graphql/schema/testdata/schemagen/output/no-id-field.graphql +++ b/graphql/schema/testdata/schemagen/output/no-id-field.graphql @@ -22,6 +22,17 @@ type Genre { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/password-type.graphql b/graphql/schema/testdata/schemagen/output/password-type.graphql index 6ae6f10cc06..0e4125da8ba 100755 --- a/graphql/schema/testdata/schemagen/output/password-type.graphql +++ b/graphql/schema/testdata/schemagen/output/password-type.graphql @@ -11,6 +11,17 @@ type Author @secret(field: "pwd") { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/searchables-references.graphql b/graphql/schema/testdata/schemagen/output/searchables-references.graphql index 1ae5cbf3c4d..249b9ad5c84 100755 --- a/graphql/schema/testdata/schemagen/output/searchables-references.graphql +++ b/graphql/schema/testdata/schemagen/output/searchables-references.graphql @@ -20,6 +20,17 @@ type Post { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/searchables.graphql b/graphql/schema/testdata/schemagen/output/searchables.graphql index 7463ef9b29c..d0ee45fcdfc 100755 --- a/graphql/schema/testdata/schemagen/output/searchables.graphql +++ b/graphql/schema/testdata/schemagen/output/searchables.graphql @@ -37,6 +37,17 @@ enum PostType { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/single-type-with-enum.graphql b/graphql/schema/testdata/schemagen/output/single-type-with-enum.graphql index 24c76f82278..6044ffcf151 100755 --- a/graphql/schema/testdata/schemagen/output/single-type-with-enum.graphql +++ b/graphql/schema/testdata/schemagen/output/single-type-with-enum.graphql @@ -19,6 +19,17 @@ enum PostType { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/single-type.graphql b/graphql/schema/testdata/schemagen/output/single-type.graphql index 1518af2d4aa..0e8eecbbd62 100755 --- a/graphql/schema/testdata/schemagen/output/single-type.graphql +++ b/graphql/schema/testdata/schemagen/output/single-type.graphql @@ -13,6 +13,17 @@ type Message { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-implements-multiple-interfaces.graphql b/graphql/schema/testdata/schemagen/output/type-implements-multiple-interfaces.graphql index 980bff37168..a90afc1fd08 100755 --- a/graphql/schema/testdata/schemagen/output/type-implements-multiple-interfaces.graphql +++ b/graphql/schema/testdata/schemagen/output/type-implements-multiple-interfaces.graphql @@ -26,6 +26,17 @@ type Human implements Character & Employee { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-reference.graphql b/graphql/schema/testdata/schemagen/output/type-reference.graphql index 1e06b5f26ba..8b642a220e6 100755 --- a/graphql/schema/testdata/schemagen/output/type-reference.graphql +++ b/graphql/schema/testdata/schemagen/output/type-reference.graphql @@ -18,6 +18,17 @@ type Author { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-with-arguments-on-field.graphql b/graphql/schema/testdata/schemagen/output/type-with-arguments-on-field.graphql index 4af50f66281..9921f8d2b04 100644 --- a/graphql/schema/testdata/schemagen/output/type-with-arguments-on-field.graphql +++ b/graphql/schema/testdata/schemagen/output/type-with-arguments-on-field.graphql @@ -19,6 +19,17 @@ type Message implements Abstract { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-with-custom-field-on-dgraph-type.graphql b/graphql/schema/testdata/schemagen/output/type-with-custom-field-on-dgraph-type.graphql index a3ca559faae..3ed9a0348da 100644 --- a/graphql/schema/testdata/schemagen/output/type-with-custom-field-on-dgraph-type.graphql +++ b/graphql/schema/testdata/schemagen/output/type-with-custom-field-on-dgraph-type.graphql @@ -18,6 +18,17 @@ type User { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-with-custom-fields-on-remote-type.graphql b/graphql/schema/testdata/schemagen/output/type-with-custom-fields-on-remote-type.graphql index 0d87fde3e01..314ea017dc8 100644 --- a/graphql/schema/testdata/schemagen/output/type-with-custom-fields-on-remote-type.graphql +++ b/graphql/schema/testdata/schemagen/output/type-with-custom-fields-on-remote-type.graphql @@ -18,6 +18,17 @@ type User { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-without-orderables.graphql b/graphql/schema/testdata/schemagen/output/type-without-orderables.graphql index 5e7ebf18f57..ad6e75e6611 100644 --- a/graphql/schema/testdata/schemagen/output/type-without-orderables.graphql +++ b/graphql/schema/testdata/schemagen/output/type-without-orderables.graphql @@ -13,6 +13,17 @@ type Data { # Extended Definitions ####################### +""" +The Int64 scalar type represents a signed 64‐bit numeric non‐fractional value. +Int64 can currently represent values in range [-(2^53)+1, (2^53)-1] without any error. +Values out of this range but representable by a signed 64-bit integer, may get coercion error. +""" +scalar Int64 + +""" +The DateTime scalar type represents date and time as a string in RFC3339 format. +For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. +""" scalar DateTime enum DgraphIndex {