Prisma2 data model: making a list optional


#1

In my Prisma2 data model, I’m trying to make a field both a list and optional:

Legal[]?

The Prisma2 documents show this as acceptable:

However, I am getting an error:

Unexpected token. Expected one of: End of block ("}"), field declaration.


#2

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.