Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few suggestions (i can try to do the PR if needed) #20

Open
littleski opened this issue Feb 5, 2024 · 3 comments
Open

Few suggestions (i can try to do the PR if needed) #20

littleski opened this issue Feb 5, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@littleski
Copy link

  • (Description) Why not writing the type for each field, as well a props (FK, nullable, Unique, etc...) ? They are in the ERD, but the ERD doesn't embed the comments. Maybe having a config field top level or a specific markup per model to choose that ?
  • Is there a way, when using multiple workspaces to only have a synthetic "version" of a table in a workspace. For example, i want to clearly see the relations with the "user" table, but i don't really care of the objects related in the "User" workspace, i just want to see the relations, each other workspace, the same way, will fully document their domain, but in theses erd, the table "user" will show a synthetic version ? (Ideally, Markdown links to the right domain position would be amazing)
  • Is there a way to "Group" the workspace in the table of content ? or sort them alphabetically for instance, so it's easyer to find love when you have 20+ workspaces ?

❤️

@samchon samchon added enhancement New feature or request good first issue Good for newcomers labels Feb 5, 2024
@samchon
Copy link
Owner

samchon commented Feb 5, 2024

  1. It seems good suggestion
  2. I'm not sure what you're talking about, is your idea not expressible with the existing @namespace, @erd and @describe?
  3. It would better to support more configurable options in the prisma schema file (generator markdown { ... })

@samchon samchon added the help wanted Extra attention is needed label Feb 7, 2024
@samchon
Copy link
Owner

samchon commented Feb 8, 2024

Welcome your PR.

@littleski
Copy link
Author

littleski commented Feb 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants