@pothos/plugin-with-input
Advanced tools
Comparing version 3.2.0 to 3.3.0
# @pothos/plugin-with-input | ||
## 3.3.0 | ||
### Minor Changes | ||
- a8e31a70: Improve user experience when srtict mode is disabled | ||
## 3.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -7,6 +7,6 @@ import { FieldKind, FieldNullability, FieldRef, InputFieldRef, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core'; | ||
interface UserSchemaTypes { | ||
WithInputArgRequired?: boolean; | ||
WithInputArgRequired: boolean; | ||
} | ||
interface ExtendDefaultTypes<PartialTypes extends Partial<UserSchemaTypes>> { | ||
WithInputArgRequired: undefined extends PartialTypes['WithInputArgRequired'] ? true : PartialTypes['WithInputArgRequired']; | ||
WithInputArgRequired: boolean extends PartialTypes['WithInputArgRequired'] ? true : PartialTypes['WithInputArgRequired'] & boolean; | ||
} | ||
@@ -13,0 +13,0 @@ interface Plugins<Types extends SchemaTypes> { |
{ | ||
"name": "@pothos/plugin-with-input", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "A Pothos plugin for defining fields with input objects", | ||
@@ -34,3 +34,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@pothos/core": "3.5.1", | ||
"@pothos/core": "3.6.0", | ||
"@pothos/test-utils": "1.1.0", | ||
@@ -37,0 +37,0 @@ "graphql-tag": "^2.12.6" |
@@ -16,9 +16,9 @@ import { | ||
export interface UserSchemaTypes { | ||
WithInputArgRequired?: boolean; | ||
WithInputArgRequired: boolean; | ||
} | ||
export interface ExtendDefaultTypes<PartialTypes extends Partial<UserSchemaTypes>> { | ||
WithInputArgRequired: undefined extends PartialTypes['WithInputArgRequired'] | ||
WithInputArgRequired: boolean extends PartialTypes['WithInputArgRequired'] | ||
? true | ||
: PartialTypes['WithInputArgRequired']; | ||
: PartialTypes['WithInputArgRequired'] & boolean; | ||
} | ||
@@ -25,0 +25,0 @@ export interface Plugins<Types extends SchemaTypes> { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
113349