Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Sep 6, 2023
1 parent 82a9c07 commit 2945f72
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/core/tests/examples/random-stuff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,8 @@ builder.objectType('User', {
example2: t.arg({ type: Example2, required: true }),
firstN: t.arg.id(),
},
resolve: (parent, args) => {
const d: Date | string = args.example2.more.more.more.example.date!;

console.log(d);

return Number.parseInt(String(args.example2.more.more.more.example.id), 10);
},
resolve: (parent, args) =>
Number.parseInt(String(args.example2.more.more.more.example.id), 10),
}),
// Using a union type
related: t.field({
Expand Down

1 comment on commit 2945f72

@vercel
Copy link

@vercel vercel bot commented on 2945f72 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.