From be919e506585ed2424d284ccb665c0f2cad20bff Mon Sep 17 00:00:00 2001 From: minhaj-shakeel Date: Tue, 3 Nov 2020 10:51:25 +0530 Subject: [PATCH] fix(GraphQL): fix between filter bugs (#6822) Fixes GRAPHQL-786. This PR enforces non-null values for `min` and `max` in the `between` filter. --- graphql/e2e/schema/generatedSchema.graphql | 20 +++++++++---------- graphql/schema/gqlschema.go | 20 +++++++++---------- .../output/auth-on-interfaces.graphql | 20 +++++++++---------- .../schemagen/output/authorization.graphql | 20 +++++++++---------- .../output/comments-and-descriptions.graphql | 20 +++++++++---------- .../schemagen/output/custom-mutation.graphql | 20 +++++++++---------- .../output/custom-nested-types.graphql | 20 +++++++++---------- .../output/custom-query-mixed-types.graphql | 20 +++++++++---------- .../custom-query-not-dgraph-type.graphql | 20 +++++++++---------- .../custom-query-with-dgraph-type.graphql | 20 +++++++++---------- .../schemagen/output/deprecated.graphql | 20 +++++++++---------- ...e-on-concrete-type-with-interfaces.graphql | 20 +++++++++---------- ...-reverse-directive-with-interfaces.graphql | 20 +++++++++---------- .../output/field-with-id-directive.graphql | 20 +++++++++---------- ...erse-predicate-in-dgraph-directive.graphql | 20 +++++++++---------- .../filter-cleanSchema-all-empty.graphql | 20 +++++++++---------- .../filter-cleanSchema-circular.graphql | 20 +++++++++---------- ...filter-cleanSchema-custom-mutation.graphql | 20 +++++++++---------- .../filter-cleanSchema-directLink.graphql | 20 +++++++++---------- .../output/generate-directive.graphql | 20 +++++++++---------- .../schemagen/output/geo-type.graphql | 20 +++++++++---------- ...se-with-interface-having-directive.graphql | 20 +++++++++---------- .../output/hasInverse-with-interface.graphql | 20 +++++++++---------- ...Inverse-with-type-having-directive.graphql | 20 +++++++++---------- .../schemagen/output/hasInverse.graphql | 20 +++++++++---------- .../hasInverse_withSubscription.graphql | 20 +++++++++---------- .../schemagen/output/hasfilter.graphql | 20 +++++++++---------- .../ignore-unsupported-directive.graphql | 20 +++++++++---------- .../output/interface-with-dgraph-pred.graphql | 20 +++++++++---------- .../interface-with-id-directive.graphql | 20 +++++++++---------- .../output/interface-with-no-ids.graphql | 20 +++++++++---------- ...interfaces-with-types-and-password.graphql | 20 +++++++++---------- .../output/interfaces-with-types.graphql | 20 +++++++++---------- .../schemagen/output/lambda-directive.graphql | 20 +++++++++---------- .../no-id-field-with-searchables.graphql | 20 +++++++++---------- .../schemagen/output/no-id-field.graphql | 20 +++++++++---------- .../schemagen/output/password-type.graphql | 20 +++++++++---------- .../output/searchables-references.graphql | 20 +++++++++---------- .../schemagen/output/searchables.graphql | 20 +++++++++---------- .../output/single-type-with-enum.graphql | 20 +++++++++---------- .../schemagen/output/single-type.graphql | 20 +++++++++---------- ...ype-implements-multiple-interfaces.graphql | 20 +++++++++---------- .../schemagen/output/type-reference.graphql | 20 +++++++++---------- .../type-with-arguments-on-field.graphql | 20 +++++++++---------- ...e-with-custom-field-on-dgraph-type.graphql | 20 +++++++++---------- ...-with-custom-fields-on-remote-type.graphql | 20 +++++++++---------- .../output/type-without-orderables.graphql | 20 +++++++++---------- .../testdata/schemagen/output/union.graphql | 20 +++++++++---------- 48 files changed, 480 insertions(+), 480 deletions(-) diff --git a/graphql/e2e/schema/generatedSchema.graphql b/graphql/e2e/schema/generatedSchema.graphql index 077b41fb187..146e918a4fd 100644 --- a/graphql/e2e/schema/generatedSchema.graphql +++ b/graphql/e2e/schema/generatedSchema.graphql @@ -24,28 +24,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/gqlschema.go b/graphql/schema/gqlschema.go index 76eb5c98c8e..4528b1bbe33 100644 --- a/graphql/schema/gqlschema.go +++ b/graphql/schema/gqlschema.go @@ -108,28 +108,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/auth-on-interfaces.graphql b/graphql/schema/testdata/schemagen/output/auth-on-interfaces.graphql index 66a1932eb41..5aa01421d33 100644 --- a/graphql/schema/testdata/schemagen/output/auth-on-interfaces.graphql +++ b/graphql/schema/testdata/schemagen/output/auth-on-interfaces.graphql @@ -40,28 +40,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/authorization.graphql b/graphql/schema/testdata/schemagen/output/authorization.graphql index 847acc99e13..adaa25c9c07 100644 --- a/graphql/schema/testdata/schemagen/output/authorization.graphql +++ b/graphql/schema/testdata/schemagen/output/authorization.graphql @@ -35,28 +35,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 68aa2013f20..76745522ab7 100755 --- a/graphql/schema/testdata/schemagen/output/comments-and-descriptions.graphql +++ b/graphql/schema/testdata/schemagen/output/comments-and-descriptions.graphql @@ -50,28 +50,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/custom-mutation.graphql b/graphql/schema/testdata/schemagen/output/custom-mutation.graphql index 4c8c9558778..6a34d6f8980 100644 --- a/graphql/schema/testdata/schemagen/output/custom-mutation.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-mutation.graphql @@ -28,28 +28,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 a254e20ecc7..b67f5c5e8f0 100755 --- a/graphql/schema/testdata/schemagen/output/custom-nested-types.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-nested-types.graphql @@ -45,28 +45,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 238af9345a8..e1504424bb8 100644 --- a/graphql/schema/testdata/schemagen/output/custom-query-mixed-types.graphql +++ b/graphql/schema/testdata/schemagen/output/custom-query-mixed-types.graphql @@ -29,28 +29,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 a132e6d6033..ba808176a1c 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 @@ -28,28 +28,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 edffe81ad71..efcf35f7275 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 @@ -24,28 +24,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/deprecated.graphql b/graphql/schema/testdata/schemagen/output/deprecated.graphql index 8bbfb377cea..b543738f0f4 100755 --- a/graphql/schema/testdata/schemagen/output/deprecated.graphql +++ b/graphql/schema/testdata/schemagen/output/deprecated.graphql @@ -24,28 +24,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 03986a5b13b..67613e8a707 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 @@ -38,28 +38,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 19fc02bccbd..c421f15f925 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 @@ -38,28 +38,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 568531ac356..1b5a806ae20 100755 --- a/graphql/schema/testdata/schemagen/output/field-with-id-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/field-with-id-directive.graphql @@ -37,28 +37,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 26407fb628d..3efcff6f438 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 @@ -31,28 +31,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-all-empty.graphql b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-all-empty.graphql index 8f27cd18a35..b65068cd0a7 100644 --- a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-all-empty.graphql +++ b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-all-empty.graphql @@ -32,28 +32,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-circular.graphql b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-circular.graphql index a13718f1bae..8e1f34f73b2 100644 --- a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-circular.graphql +++ b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-circular.graphql @@ -34,28 +34,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-custom-mutation.graphql b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-custom-mutation.graphql index 68c2f598026..7760367323e 100644 --- a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-custom-mutation.graphql +++ b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-custom-mutation.graphql @@ -28,28 +28,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-directLink.graphql b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-directLink.graphql index e4870db51c9..4a2aaebb1c2 100644 --- a/graphql/schema/testdata/schemagen/output/filter-cleanSchema-directLink.graphql +++ b/graphql/schema/testdata/schemagen/output/filter-cleanSchema-directLink.graphql @@ -34,28 +34,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/generate-directive.graphql b/graphql/schema/testdata/schemagen/output/generate-directive.graphql index 19cfbc5910b..6c015fc7cd4 100644 --- a/graphql/schema/testdata/schemagen/output/generate-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/generate-directive.graphql @@ -37,28 +37,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/geo-type.graphql b/graphql/schema/testdata/schemagen/output/geo-type.graphql index cbe57861525..8db9136edec 100644 --- a/graphql/schema/testdata/schemagen/output/geo-type.graphql +++ b/graphql/schema/testdata/schemagen/output/geo-type.graphql @@ -30,28 +30,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 2f9ecec1c18..cca006323f3 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 @@ -48,28 +48,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 803404b03f3..80f9aa46597 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse-with-interface.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse-with-interface.graphql @@ -49,28 +49,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 2f9ecec1c18..cca006323f3 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 @@ -48,28 +48,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse.graphql b/graphql/schema/testdata/schemagen/output/hasInverse.graphql index f0a27584b68..f6f4cb08a38 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse.graphql @@ -29,28 +29,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql b/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql index fc161d10573..e0decd4f613 100755 --- a/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql +++ b/graphql/schema/testdata/schemagen/output/hasInverse_withSubscription.graphql @@ -29,28 +29,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/hasfilter.graphql b/graphql/schema/testdata/schemagen/output/hasfilter.graphql index ef5a43b4bfa..55df9db0222 100644 --- a/graphql/schema/testdata/schemagen/output/hasfilter.graphql +++ b/graphql/schema/testdata/schemagen/output/hasfilter.graphql @@ -32,28 +32,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql b/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql index 53cad5f28f2..fd8d802cb87 100755 --- a/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/ignore-unsupported-directive.graphql @@ -31,28 +31,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 08d3b15bc4a..f6ed62236ad 100644 --- a/graphql/schema/testdata/schemagen/output/interface-with-dgraph-pred.graphql +++ b/graphql/schema/testdata/schemagen/output/interface-with-dgraph-pred.graphql @@ -38,28 +38,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 abedf6d8912..0c8bd598cd5 100755 --- a/graphql/schema/testdata/schemagen/output/interface-with-id-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/interface-with-id-directive.graphql @@ -33,28 +33,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 2c156bfe71d..ef6dec4c90b 100755 --- a/graphql/schema/testdata/schemagen/output/interface-with-no-ids.graphql +++ b/graphql/schema/testdata/schemagen/output/interface-with-no-ids.graphql @@ -33,28 +33,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 ede4988485c..c157f3d74fe 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 @@ -55,28 +55,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 93c5633dba1..336bcabdcd0 100755 --- a/graphql/schema/testdata/schemagen/output/interfaces-with-types.graphql +++ b/graphql/schema/testdata/schemagen/output/interfaces-with-types.graphql @@ -55,28 +55,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/lambda-directive.graphql b/graphql/schema/testdata/schemagen/output/lambda-directive.graphql index 9adec1d4a10..76036a10be5 100644 --- a/graphql/schema/testdata/schemagen/output/lambda-directive.graphql +++ b/graphql/schema/testdata/schemagen/output/lambda-directive.graphql @@ -26,28 +26,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 cb95340aace..9296d03a5a4 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 @@ -23,28 +23,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 0e380bb39e5..26159d73b1d 100755 --- a/graphql/schema/testdata/schemagen/output/no-id-field.graphql +++ b/graphql/schema/testdata/schemagen/output/no-id-field.graphql @@ -35,28 +35,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/password-type.graphql b/graphql/schema/testdata/schemagen/output/password-type.graphql index 652dbcd08a8..d4420884fbc 100755 --- a/graphql/schema/testdata/schemagen/output/password-type.graphql +++ b/graphql/schema/testdata/schemagen/output/password-type.graphql @@ -24,28 +24,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/searchables-references.graphql b/graphql/schema/testdata/schemagen/output/searchables-references.graphql index 846328ac236..09babc994e8 100755 --- a/graphql/schema/testdata/schemagen/output/searchables-references.graphql +++ b/graphql/schema/testdata/schemagen/output/searchables-references.graphql @@ -33,28 +33,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/searchables.graphql b/graphql/schema/testdata/schemagen/output/searchables.graphql index 431b86794b3..ab40e443511 100755 --- a/graphql/schema/testdata/schemagen/output/searchables.graphql +++ b/graphql/schema/testdata/schemagen/output/searchables.graphql @@ -52,28 +52,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 b14965d644d..0302a9d2e39 100755 --- a/graphql/schema/testdata/schemagen/output/single-type-with-enum.graphql +++ b/graphql/schema/testdata/schemagen/output/single-type-with-enum.graphql @@ -32,28 +32,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/single-type.graphql b/graphql/schema/testdata/schemagen/output/single-type.graphql index 293d54ff146..75a94ae4d8e 100755 --- a/graphql/schema/testdata/schemagen/output/single-type.graphql +++ b/graphql/schema/testdata/schemagen/output/single-type.graphql @@ -27,28 +27,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 022e9b48f50..66489352bc0 100755 --- a/graphql/schema/testdata/schemagen/output/type-implements-multiple-interfaces.graphql +++ b/graphql/schema/testdata/schemagen/output/type-implements-multiple-interfaces.graphql @@ -39,28 +39,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/type-reference.graphql b/graphql/schema/testdata/schemagen/output/type-reference.graphql index ebfb13500a8..f1051fe58db 100755 --- a/graphql/schema/testdata/schemagen/output/type-reference.graphql +++ b/graphql/schema/testdata/schemagen/output/type-reference.graphql @@ -31,28 +31,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 4658c0e65aa..71ef955451c 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 @@ -32,28 +32,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 2759a2ebe40..eab6de75fa5 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 @@ -31,28 +31,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 4d4d034c4e5..c8e3d05fdd5 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 @@ -31,28 +31,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } 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 60880a3f28c..e7f6f205f50 100644 --- a/graphql/schema/testdata/schemagen/output/type-without-orderables.graphql +++ b/graphql/schema/testdata/schemagen/output/type-without-orderables.graphql @@ -26,28 +26,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex { diff --git a/graphql/schema/testdata/schemagen/output/union.graphql b/graphql/schema/testdata/schemagen/output/union.graphql index b4c260fb61c..a1b1cd4efb8 100644 --- a/graphql/schema/testdata/schemagen/output/union.graphql +++ b/graphql/schema/testdata/schemagen/output/union.graphql @@ -69,28 +69,28 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a scalar DateTime input IntRange{ - min: Int - max: Int + min: Int! + max: Int! } input FloatRange{ - min: Float - max: Float + min: Float! + max: Float! } input Int64Range{ - min: Int64 - max: Int64 + min: Int64! + max: Int64! } input DateTimeRange{ - min: DateTime - max: DateTime + min: DateTime! + max: DateTime! } input StringRange{ - min: String - max: String + min: String! + max: String! } enum DgraphIndex {