Redowood is a fantistic piece of work. There does not exist any such package in the JS excosystem. I have few questions, pl. answer them.
a. Is it possible to use our-own custom JWT implementation… If yes, is there any tutorial or example code that demonstrates this including client-side implementation?
b. Looks like Redwood has built-in support for roles. Can we define our own roles like Admin, Moderator, Editor, User, etc.? Is it possible to attach the fine-grained permissions to these roles, for example, casl-ability npm package.
c. Redwood does not support cron jobs currently. If not, hope it’d be easy to use the node-cron like package? For example, inactivate the users who are not active since the last one year.
d. Same for queues, probably no built-in support. We may need a package like bull to send emails, newsletters etc.
e. Can we use custom validators like zod or yup i.e. overriding the built-in validation?
f. Looks like Redwood Graphql uses the schema-first approach. I had a look at the Blog example where you defined the SDLs for User and Post types. But there doesn’t exist any SDL for input, output types etc. Why so?
g. Is the live-queries feature, alternative to subscriptions, fully functional?
h. Can we extend the built-in validations and add our own, for example, a password should match a given Reg Ex?
i. Does Redwood support client-side validations which are typically used before the forms are submitted to the server? If yes, is there any example that demonstrates the usage of built-in validations at client-side?
j. How is it possible to use the Fastify middlewares in Redwood. For example, I need to use the csurf middleware. Probably it is not possible use the middleware especially in the serverless environment because we are not going to create the Fastify instance ourselves, Am I right?