CCodemod

redwoodjs/core/4/auth-decoder

No description available

migration
Public
1 executions
Run locally
npx codemod redwoodjs/core/4/auth-decoder
Documentation

This codemod for RedwoodJS v4 automatically inserts an authDecoder property into the createGraphQLHandler call if it's not already present. It also adds an import statement for authDecoder from @redwoodjs/auth-auth0-api at the beginning of the file, ensuring that the necessary functionality for authentication is correctly integrated.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.