@@ -6,6 +6,7 @@ exports[`field_nullability generates pothos DSLs with partial inputs: extensions
66
77/* eslint-disable */
88
9+ import * as $$pothos$core from \\ "@pothos/core\\ ";
910import { builder } from \\ "../../../builder\\ ";
1011import * as _$testapis$extensions$field_nullability$nullability from \\ "./testapis/extensions/field_nullability/nullability\\ ";
1112export const Message$Ref = builder.objectRef<_$testapis$extensions$field_nullability$nullability.Message >(\\"Message\\");
@@ -70,8 +71,7 @@ export type MessageInput$Shape = {
7071 body : _$testapis$extensions$field_nullability$nullability .Message [\\" body\\ " ];
7172 status ?: _$testapis$extensions$field_nullability$nullability .Message [\\" status\\ " ] | null ;
7273} ;
73- export const MessageInput$Ref = builder.inputRef<MessageInput$Shape >(\\"MessageInput\\");
74- MessageInput$Ref.implement({
74+ export const MessageInput$Ref: $$pothos$core.InputObjectRef<MessageInput$Shape > = builder.inputRef<MessageInput$Shape >(\\"MessageInput\\").implement({
7575 fields : t => ({
7676 userId: t .field ({
7777 type: \\" String\\ " ,
@@ -120,8 +120,7 @@ export type MessagePartialInput$Shape = {
120120 body ?: _$testapis$extensions$field_nullability$nullability .Message [\\" body\\ " ] | null ;
121121 status ?: _$testapis$extensions$field_nullability$nullability .Message [\\" status\\ " ] | null ;
122122} ;
123- export const MessagePartialInput$Ref = builder.inputRef<MessagePartialInput$Shape >(\\"MessagePartialInput\\");
124- MessagePartialInput$Ref.implement({
123+ export const MessagePartialInput$Ref: $$pothos$core.InputObjectRef<MessagePartialInput$Shape > = builder.inputRef<MessagePartialInput$Shape >(\\"MessagePartialInput\\").implement({
125124 fields : t => ({
126125 userId: t .field ({
127126 type: \\" String\\ " ,
@@ -201,6 +200,7 @@ exports[`no_partial generates pothos DSLs with partial inputs: extensions/no_par
201200
202201/* eslint-disable */
203202
203+ import * as $$pothos$core from \\"@pothos/core\\";
204204import { builder } from \\"../../../builder\\";
205205import * as _$testapis$extensions$no_partial$no_partial from \\"./testapis/extensions/no_partial/no_partial\\";
206206export const ParentMessage$Ref = builder.objectRef<_$testapis$extensions$no_partial$no_partial.ParentMessage >(\\"ParentMessage\\");
@@ -333,8 +333,7 @@ export type ParentMessageInput$Shape = {
333333 partialableInputMessage : PartialableInputMessageInput$Shape ;
334334 noPartialInputMessage : NoPartialInputMessageInput$Shape ;
335335} ;
336- export const ParentMessageInput$Ref = builder.inputRef<ParentMessageInput$Shape >(\\"ParentMessageInput\\");
337- ParentMessageInput$Ref.implement({
336+ export const ParentMessageInput$Ref: $$pothos$core.InputObjectRef<ParentMessageInput$Shape > = builder.inputRef<ParentMessageInput$Shape >(\\"ParentMessageInput\\").implement({
338337 fields : t => ({
339338 partialableInputMessage: t .field ({
340339 type: PartialableInputMessageInput$Ref ,
@@ -371,8 +370,7 @@ export type ParentMessagePartialInput$Shape = {
371370 partialableInputMessage ?: PartialableInputMessagePartialInput$Shape | null ;
372371 noPartialInputMessage ?: NoPartialInputMessageInput$Shape | null ;
373372} ;
374- export const ParentMessagePartialInput$Ref = builder.inputRef<ParentMessagePartialInput$Shape >(\\"ParentMessagePartialInput\\");
375- ParentMessagePartialInput$Ref.implement({
373+ export const ParentMessagePartialInput$Ref: $$pothos$core.InputObjectRef<ParentMessagePartialInput$Shape > = builder.inputRef<ParentMessagePartialInput$Shape >(\\"ParentMessagePartialInput\\").implement({
376374 fields : t => ({
377375 partialableInputMessage: t .field ({
378376 type: PartialableInputMessagePartialInput$Ref ,
@@ -409,8 +407,7 @@ export type PartialableInputMessageInput$Shape = {
409407 id : _$testapis$extensions$no_partial$no_partial .PartialableInputMessage [\\" id\\ " ];
410408 body : _$testapis$extensions$no_partial$no_partial .PartialableInputMessage [\\" body\\ " ];
411409} ;
412- export const PartialableInputMessageInput$Ref = builder.inputRef<PartialableInputMessageInput$Shape >(\\"PartialableInputMessageInput\\");
413- PartialableInputMessageInput$Ref.implement({
410+ export const PartialableInputMessageInput$Ref: $$pothos$core.InputObjectRef<PartialableInputMessageInput$Shape > = builder.inputRef<PartialableInputMessageInput$Shape >(\\"PartialableInputMessageInput\\").implement({
414411 fields : t => ({
415412 id: t .field ({
416413 type: \\" String\\ " ,
@@ -447,8 +444,7 @@ export type PartialableInputMessagePartialInput$Shape = {
447444 id ?: _$testapis$extensions$no_partial$no_partial .PartialableInputMessage [\\" id\\ " ] | null ;
448445 body ?: _$testapis$extensions$no_partial$no_partial .PartialableInputMessage [\\" body\\ " ] | null ;
449446} ;
450- export const PartialableInputMessagePartialInput$Ref = builder.inputRef<PartialableInputMessagePartialInput$Shape >(\\"PartialableInputMessagePartialInput\\");
451- PartialableInputMessagePartialInput$Ref.implement({
447+ export const PartialableInputMessagePartialInput$Ref: $$pothos$core.InputObjectRef<PartialableInputMessagePartialInput$Shape > = builder.inputRef<PartialableInputMessagePartialInput$Shape >(\\"PartialableInputMessagePartialInput\\").implement({
452448 fields : t => ({
453449 id: t .field ({
454450 type: \\" String\\ " ,
@@ -485,8 +481,7 @@ export type NoPartialInputMessageInput$Shape = {
485481 id : _$testapis$extensions$no_partial$no_partial .NoPartialInputMessage [\\" id\\ " ];
486482 body : _$testapis$extensions$no_partial$no_partial .NoPartialInputMessage [\\" body\\ " ];
487483} ;
488- export const NoPartialInputMessageInput$Ref = builder.inputRef<NoPartialInputMessageInput$Shape >(\\"NoPartialInputMessageInput\\");
489- NoPartialInputMessageInput$Ref.implement({
484+ export const NoPartialInputMessageInput$Ref: $$pothos$core.InputObjectRef<NoPartialInputMessageInput$Shape > = builder.inputRef<NoPartialInputMessageInput$Shape >(\\"NoPartialInputMessageInput\\").implement({
490485 fields : t => ({
491486 id: t .field ({
492487 type: \\" String\\ " ,
0 commit comments