- Issue created by @omarlopesino
- πͺπΈSpain omarlopesino
I was thinking this problem can be solved by just passing an empty string when the values are empty. But does it make sense finding a unique entity if one of the unique fields is empty? Should not we filter only if all unique fields are present?
- πΊπΈUnited States AaronBauman Philadelphia
The unique fields constraint checks to make sure that a mapped object doesn't already exist.
If one of the identifiers is empty, it's probably too early to be checking that constraint.
So I think we can skip the check altogether if that's the case.