A few plugins I wrote for getcronit-pylon library to support my application with custom features. They support Envelop format.
useClerk
: passing the Clerk client to the context along with the user payload obtained from Clerk. Useful if you don't want to use Zitadel.useSupabase
: simple plugin to attach the Supabase client to the context for the future useuseValidation
: request validation plugin that is using Zod to check the request input
Note: They are unofficial and require adoption to your use case.
Just attach in your Pylon index file.
// graphQL and app ...
export const config = {
plugins: [
useValidation(),
useSupabase(),
useClerk()
]
}
Feel free to reuse how you see fit.