-
Notifications
You must be signed in to change notification settings - Fork 4
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
Bug: Running plugin setup can duplicate inngestPlugin in the GraphQLHandler extraPlugins #67
Comments
While there is a test for when the extraPlugins exists:
with a fixture:
and that test passes, for some reason the plugins still are duplicated. |
While test pass, for some reason when running in a RW project, the codemod behaves differently. Something in this detection behaves differently:
Perhaps some type guard issue? |
I ran into something similar where I already had
Got an extra |
If the GraphQLHandler is:
where
extraPlugins: [inngestPlugin],
is already set, re-running and forcing the plugin setup duplicates:The text was updated successfully, but these errors were encountered: