garrensmith commented on issue #1718: Perform explicit $exists:false on Index 
validation
URL: https://github.com/apache/couchdb/pull/1718#issuecomment-436694633
 
 
   Cool. I did think of doing that. It requires passing in another list of all 
the fields in the index because we can get a situation where there would be two 
checks on a field. So the first check might pass and remove the field from the 
required field list and then if we did a `lists:member` check for the `$exists: 
false` then it wouldn't find it in the `RequiredFields`. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to