garrensmith commented on issue #1718: Perform explicit $exists:false on Index validation URL: https://github.com/apache/couchdb/pull/1718#issuecomment-437263723 Yes. Nice idea. I’ll change it to that. ________________________________ From: Tony Sun <[email protected]> Sent: Friday, November 9, 2018 2:26:50 AM To: apache/couchdb Cc: garren smith; Author Subject: Re: [apache/couchdb] Perform explicit $exists:false on Index validation (#1718) Instead of having an extra list, perhaps you can convert RequiredFields to be a tuple list: [{"field", false}, {"field1", false}....]. Then instead of removing it, you tag it with true. When it see $exists:false, you tag it with exists_field or something and then that can't be changed if the field shows up again later on. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://github.com/apache/couchdb/pull/1718#issuecomment-437206064>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAK9AmrvpLGvqXOBc2gYLkX3cyTx-K_0ks5utMvKgaJpZM4YSEoK>.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
