-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spike] add scaffold for new validation plugin #1373
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -47,7 +47,7 @@ | |||
"provenance": true | |||
}, | |||
"peerDependencies": { | |||
"graphql": ">=16.6.0" | |||
"graphql": "^16.8.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an annoying artifact of how pnpm upgrade -irL
works with peer dependencies, and needs to be reverted
) => PothosSchemaTypes.InputFieldRef<Types, T>; | ||
|
||
export type ArgumentRef<Types extends SchemaTypes, T> = PothosSchemaTypes.ArgumentRef<Types, T>; | ||
export const ArgumentRef = InternalArgumentRef as new <Types extends SchemaTypes, T>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just makes it so these types of Refs can be more easily extended by plugins
7582efa
to
d9efa76
Compare
Just pushed up an implementation of the main validation logic. I think this plugin is now mostly functional, but needs testing, docs, and some config for error handling |
No description provided.