Skip to content

Commit 101995c

Browse files
committed
update snapshot
1 parent 66fe96f commit 101995c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/protoc-gen-nexus/src/__tests__/__snapshots__/edgecases.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const Message = nexus.objectType({
178178
case _$testapis$edgecases$import_squashed_union$pkg1$types_pb.SquashedOneof.MessageCase.MESSAGE_NOT_SET: {
179179
return null;
180180
}
181-
case _$testapis$edgecases$import_squashed_union$pkg1$types_pb.SquashedOneof.MessageCase.MSG_1: {
181+
case _$testapis$edgecases$import_squashed_union$pkg1$types_pb.SquashedOneof.MessageCase.MSG1: {
182182
return value.getMsg1()!;
183183
}
184184
default: {

packages/protoc-gen-nexus/src/__tests__/__snapshots__/process.test.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ export const NotDeprecatedMessage = nexus.objectType({
114114
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.NotDeprecatedOneofCase.NOT_DEPRECATED_ONEOF_NOT_SET: {
115115
return null;
116116
}
117-
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.NotDeprecatedOneofCase.MSG_1: {
117+
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.NotDeprecatedOneofCase.MSG1: {
118118
return root.getMsg1()!;
119119
}
120-
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.NotDeprecatedOneofCase.MSG_2: {
120+
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.NotDeprecatedOneofCase.MSG2: {
121121
return root.getMsg2()!;
122122
}
123123
default: {
@@ -141,10 +141,10 @@ export const NotDeprecatedMessage = nexus.objectType({
141141
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.DeprecatedOneofCase.DEPRECATED_ONEOF_NOT_SET: {
142142
return null;
143143
}
144-
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.DeprecatedOneofCase.MSG_3: {
144+
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.DeprecatedOneofCase.MSG3: {
145145
return root.getMsg3()!;
146146
}
147-
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.DeprecatedOneofCase.MSG_4: {
147+
case _$testapis$deprecation$deprecation_pb.NotDeprecatedMessage.DeprecatedOneofCase.MSG4: {
148148
return root.getMsg4()!;
149149
}
150150
default: {
@@ -9366,10 +9366,10 @@ export const OneofParent = nexus.objectType({
93669366
case _$testapis$oneof$oneof_pb.OneofParent.RequiredOneofMembersCase.REQUIRED_ONEOF_MEMBERS_NOT_SET: {
93679367
throw \\"unreachable\\";
93689368
}
9369-
case _$testapis$oneof$oneof_pb.OneofParent.RequiredOneofMembersCase.REQUIRED_MESSAGE_1: {
9369+
case _$testapis$oneof$oneof_pb.OneofParent.RequiredOneofMembersCase.REQUIRED_MESSAGE1: {
93709370
return root.getRequiredMessage1()!;
93719371
}
9372-
case _$testapis$oneof$oneof_pb.OneofParent.RequiredOneofMembersCase.REQUIRED_MESSAGE_2: {
9372+
case _$testapis$oneof$oneof_pb.OneofParent.RequiredOneofMembersCase.REQUIRED_MESSAGE2: {
93739373
return root.getRequiredMessage2()!;
93749374
}
93759375
default: {
@@ -9392,10 +9392,10 @@ export const OneofParent = nexus.objectType({
93929392
case _$testapis$oneof$oneof_pb.OneofParent.OptionalOneofMembersCase.OPTIONAL_ONEOF_MEMBERS_NOT_SET: {
93939393
return null;
93949394
}
9395-
case _$testapis$oneof$oneof_pb.OneofParent.OptionalOneofMembersCase.OPTOINAL_MESSAGE_1: {
9395+
case _$testapis$oneof$oneof_pb.OneofParent.OptionalOneofMembersCase.OPTOINAL_MESSAGE1: {
93969396
return root.getOptoinalMessage1()!;
93979397
}
9398-
case _$testapis$oneof$oneof_pb.OneofParent.OptionalOneofMembersCase.OPTOINAL_MESSAGE_2: {
9398+
case _$testapis$oneof$oneof_pb.OneofParent.OptionalOneofMembersCase.OPTOINAL_MESSAGE2: {
93999399
return root.getOptoinalMessage2()!;
94009400
}
94019401
default: {

0 commit comments

Comments
 (0)