@pothos/plugin-directives
Advanced tools
Comparing version 3.2.0 to 3.3.0
# Change Log | ||
## 3.3.0 | ||
### Minor Changes | ||
- a8e31a70: Improve user experience when srtict mode is disabled | ||
## 3.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -16,3 +16,3 @@ import { EnumValues, FieldNullability, FieldRequiredness, InputFieldMap, InputType, InterfaceParam, ObjectParam, RootName, SchemaTypes, TypeParam } from '@pothos/core'; | ||
interface ExtendDefaultTypes<PartialTypes extends Partial<UserSchemaTypes>> { | ||
Directives: undefined extends PartialTypes['Directives'] ? {} : PartialTypes['Directives'] & {}; | ||
Directives: PartialTypes['Directives'] & {}; | ||
} | ||
@@ -19,0 +19,0 @@ interface SchemaBuilderOptions<Types extends SchemaTypes> { |
{ | ||
"name": "@pothos/plugin-directives", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Directive plugin for Pothos, enables using graphql-tools based directives with Pothos", | ||
@@ -37,3 +37,3 @@ "main": "./lib/index.js", | ||
"@graphql-tools/utils": "^8.6.5", | ||
"@pothos/core": "3.5.0", | ||
"@pothos/core": "3.6.0", | ||
"@pothos/test-utils": "1.1.0", | ||
@@ -40,0 +40,0 @@ "graphql": "16.3.0", |
@@ -34,5 +34,3 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ | ||
export interface ExtendDefaultTypes<PartialTypes extends Partial<UserSchemaTypes>> { | ||
Directives: undefined extends PartialTypes['Directives'] | ||
? {} | ||
: PartialTypes['Directives'] & {}; | ||
Directives: PartialTypes['Directives'] & {}; | ||
} | ||
@@ -39,0 +37,0 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207940
1436