CCodemod

redwoodjs/core/4/auth-decoder

No description available

migration
Public
1 executions

Run locally

npx codemod redwoodjs/core/4/auth-decoder

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 evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.