Skip to content

Optional cardinality in the 1 side.#22

Merged
samchon merged 2 commits intomasterfrom
features/optional
Feb 16, 2024
Merged

Optional cardinality in the 1 side.#22
samchon merged 2 commits intomasterfrom
features/optional

Conversation

@samchon
Copy link
Copy Markdown
Owner

@samchon samchon commented Feb 16, 2024

erDiagram
"one" |o--|{ "many" : special
Loading

When one-to-many relationship is optional in the one side, prisma-markdown could not express it in the diagram. Also, if one side is optional, but many side is mandatory, prisma-markdown also could not express it exactly, either.

This PR fixes the bug, so that one side optional cardinality can be exactly represented.

When one-to-many relationship is optional in the one side, `prisma-markdown` could not express it in the diagram. Also, if one side is optional, but many side is mandatory, `prisma-markdown` also could not express it exactly, either.

This PR fixes the bug, so that one side optional cardinality can be exactly represented.
@samchon samchon added bug Something isn't working enhancement New feature or request labels Feb 16, 2024
@samchon samchon self-assigned this Feb 16, 2024
@samchon samchon merged commit e934fee into master Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant