prisma-docs-generator
prisma-docs-generator copied to clipboard
Prisma generator for automatically generating documentation reference from the Prisma schema.
Been using your docs generator for complex nested queries, and so far super helpful! Came across the following error. ## My query ```js const users = await prisma.user.findMany({ where: {...
// TODO: outline ideal testing solution and initial test cases // Snapshot?? // jest-dom?
I found out that some paths are broken when using this with something like redwood. Integration tests would be nice here.
Might be a good idea if someone wants to deploy this. This need a bit more exploration in terms of generation time and other related concerns.
We can use indent-string to format the generated html
Right now it just shows this, we should add an instruction. ![image](https://user-images.githubusercontent.com/22195362/89132459-f5130680-d531-11ea-91e8-88a3f3965704.png)
Right now we are generating the style from a template but ideally I should I should generate them from an output of a reference schema.
Please add a "dark mode" feature, if you may. Thank you very much. 🙏