Open edobrb opened 2 years ago
Example:
type Example @entity { field1: Int field2: Int }
Either field1 or field2 must be defined but not both. The only way to do this now is through middleware. It would be a nice way to express the rule declaratively.
Some idea from #220
Example:
Either field1 or field2 must be defined but not both. The only way to do this now is through middleware. It would be a nice way to express the rule declaratively.