Skip to content
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

Fix hooks types #891

Merged

Conversation

sameer-coder
Copy link
Contributor

@sameer-coder sameer-coder commented Oct 12, 2022

This PR updates types related to various hooks

Closes #877

cc @simoneb

@sameer-coder sameer-coder changed the title Fix pre-execution hook types Fix hook types Oct 12, 2022
@sameer-coder sameer-coder changed the title Fix hook types Fix hooks types Oct 12, 2022
Copy link
Contributor

@jonnydgreen jonnydgreen left a comment

Choose a reason for hiding this comment

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

Looks good - could you add some type tests?

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

can you add the tests?

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit 1cbb5ef into mercurius-js:master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect overload types of hooks
3 participants