Until yesterday, prisma-markdown could not distinguish whether 1: N relationships are mandatory or not. In such reason, prisma-markdown had drawn 1: N relationship as ||---|{ symbol regardless of the N position is whether mandatory or optional.
To make it clear, I've come with new idea @minItems 1 tag. If the tag being written on a 1: N relationship accessor, prisma-markdown will draw ||---|{ symbol. Otherwise it does not exist, ||---o{ symbol would be drawn instead.
Until yesterday,
prisma-markdown
could not distinguish whether 1: N relationships are mandatory or not. In such reason,prisma-markdown
had drawn 1: N relationship as||---|{
symbol regardless of the N position is whether mandatory or optional.To make it clear, I've come with new idea
@minItems 1
tag. If the tag being written on a 1: N relationship accessor,prisma-markdown
will draw||---|{
symbol. Otherwise it does not exist,||---o{
symbol would be drawn instead.