Is there a way to define a schema like this? (look...
# orm-help
g
Is there a way to define a schema like this? (look at the key
value
)
Copy code
type RuleExampleOption {
  id: ID! @unique
  name: String!
  value: RuleExampleOptionValue! or Boolean!
  example: RuleExample!
}
n
That could be defined with a union type, but that's not yet supported by Prisma