From 55db1910890b6602ba79bfd2ca3d74ed6e899cc2 Mon Sep 17 00:00:00 2001 From: laststylebender Date: Tue, 13 Aug 2024 17:20:48 +0530 Subject: [PATCH] - update snaps --- ...us_type__tests__resolve_ambiguous_news_types.snap | 4 ++-- ...ore__generator__from_proto__test__from_proto.snap | 4 ++-- ...or__from_proto__test__from_proto_no_pkg_file.snap | 2 +- ...core__generator__from_proto__test__map_types.snap | 4 ++-- ...l__core__generator__from_proto__test__movies.snap | 6 +++--- ...generator__from_proto__test__optional_fields.snap | 12 ++++++------ ..._generator__from_proto__test__required_types.snap | 4 ++-- ...e__generator__from_proto__test__scalar_types.snap | 2 +- ...rator__test__should_generate_combined_config.snap | 4 ++-- ...tor__test__should_generate_config_from_proto.snap | 4 ++-- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/core/config/transformer/snapshots/tailcall__core__config__transformer__ambiguous_type__tests__resolve_ambiguous_news_types.snap b/src/core/config/transformer/snapshots/tailcall__core__config__transformer__ambiguous_type__tests__resolve_ambiguous_news_types.snap index 34619d8a0f..3883b2a779 100644 --- a/src/core/config/transformer/snapshots/tailcall__core__config__transformer__ambiguous_type__tests__resolve_ambiguous_news_types.snap +++ b/src/core/config/transformer/snapshots/tailcall__core__config__transformer__ambiguous_type__tests__resolve_ambiguous_news_types.snap @@ -7,7 +7,7 @@ schema @server @upstream { } input news__MultipleNewsId { - ids: [news__NewsId] + ids: [news__NewsId]! } input news__NewsId { @@ -46,5 +46,5 @@ type news__News { } type news__NewsList { - news: [news__News] + news: [news__News]! } diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto.snap index b5c6896802..8f956df566 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto.snap @@ -18,7 +18,7 @@ input greetings_a__b__HelloRequest { } input news__MultipleNewsId { - ids: [news__NewsId] + ids: [news__NewsId]! } input news__NewsId { @@ -76,5 +76,5 @@ type news__News { } type news__NewsList { - news: [news__News] + news: [news__News]! } diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto_no_pkg_file.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto_no_pkg_file.snap index 7d2b517abe..05433f3177 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto_no_pkg_file.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__from_proto_no_pkg_file.snap @@ -14,7 +14,7 @@ type News { } type NewsList { - news: [News] + news: [News]! } type Query { diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__map_types.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__map_types.snap index 84e317cb01..4795b8285b 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__map_types.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__map_types.snap @@ -7,7 +7,7 @@ schema @server @upstream { } input map__MapRequest { - map: JSON + map: JSON! } type Query { @@ -15,5 +15,5 @@ type Query { } type map__MapResponse { - map: JSON + map: JSON! } diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__movies.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__movies.snap index f31ea09493..98398b65d2 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__movies.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__movies.snap @@ -132,7 +132,7 @@ input movies__MovieInput { """ list of cast """ - cast: [String] + cast: [String]! duration: google__protobuf__DurationInput genre: movies__Genre name: String @@ -378,7 +378,7 @@ type movies__Movie { """ list of cast """ - cast: [String] + cast: [String]! duration: google__protobuf__Duration genre: movies__Genre name: String @@ -412,5 +412,5 @@ type movies__MoviesResult { """ list of movies """ - result: [movies__Movie] + result: [movies__Movie]! } diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__optional_fields.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__optional_fields.snap index 9e7ee397cb..ae74e8076b 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__optional_fields.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__optional_fields.snap @@ -11,8 +11,8 @@ input type__TypeInput { idOpt: Int nested: type__Type__NestedInput nestedOpt: type__Type__NestedInput - nestedRep: [type__Type__NestedInput] - num: [Float] + nestedRep: [type__Type__NestedInput]! + num: [Float]! str: String strOpt: String } @@ -20,7 +20,7 @@ input type__TypeInput { input type__Type__NestedInput { id: Int idOpt: Int - num: [Float] + num: [Float]! str: String strOpt: String } @@ -40,8 +40,8 @@ type type__Type { idOpt: Int nested: type__Type__Nested nestedOpt: type__Type__Nested - nestedRep: [type__Type__Nested] - num: [Float] + nestedRep: [type__Type__Nested]! + num: [Float]! str: String strOpt: String } @@ -49,7 +49,7 @@ type type__Type { type type__Type__Nested { id: Int idOpt: Int - num: [Float] + num: [Float]! str: String strOpt: String } diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__required_types.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__required_types.snap index 9756537638..044dca3de9 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__required_types.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__required_types.snap @@ -17,8 +17,8 @@ type person__Person { email: String id: Int! name: String! - phone: [person__PhoneNumber] - stringMap: JSON + phone: [person__PhoneNumber]! + stringMap: JSON! } """ diff --git a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__scalar_types.snap b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__scalar_types.snap index 47ab150bda..d897efb420 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__scalar_types.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__from_proto__test__scalar_types.snap @@ -47,5 +47,5 @@ type scalars__Item { } type scalars__Result { - result: [scalars__Item] + result: [scalars__Item]! } diff --git a/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_combined_config.snap b/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_combined_config.snap index 2fa1b6c97e..c28b6f9192 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_combined_config.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_combined_config.snap @@ -11,7 +11,7 @@ input Id { } input news__MultipleNewsId { - ids: [Id] + ids: [Id]! } input news__NewsInput { @@ -57,7 +57,7 @@ type News { } type NewsNewsServiceGetMultipleNew { - news: [News] + news: [News]! } type Photo { diff --git a/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_config_from_proto.snap b/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_config_from_proto.snap index 6dc941f9f8..a4f04d4d5c 100644 --- a/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_config_from_proto.snap +++ b/src/core/generator/snapshots/tailcall__core__generator__generator__test__should_generate_config_from_proto.snap @@ -7,7 +7,7 @@ schema @server @upstream @link(src: "../../../tailcall-fixtures/fixtures/protobu } input news__MultipleNewsId { - ids: [news__NewsId] + ids: [news__NewsId]! } input news__NewsId { @@ -46,5 +46,5 @@ type news__News { } type news__NewsList { - news: [news__News] + news: [news__News]! }