Support OBJECT REFCOUNT by Avital-Fine ยท Pull Request #2087 ยท StackExchange/StackExchange.Redis

@Avital-Fine

NickCraver

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great - a few doc tweaks and good to go ๐Ÿ‘ - since it's just docs I'll merge in and watch builds. Need to add release notes for this one yet!

@NickCraver

I'll try and tweak this a bit - added a not-exist case locally and that'll throw because it's nil coming back from Redis. We can either make that 0, or long? - checking other methods.

@NickCraver

NickCraver

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - thanks again! ๐Ÿ‘

@NickCraver

@Avital-Fine I changed the return here given what redis returns and consistency with a few other APIs for that case (null does clearly indicate missing) - can you confirm this makes sense to you? If not we can tweak further.

@Avital-Fine

@Avital-Fine I changed the return here given what redis returns and consistency with a few other APIs for that case (null does clearly indicate missing) - can you confirm this makes sense to you? If not we can tweak further.

@NickCraver Makes sense, but need to update the doc ;)

return null if the key does not exist
return null if the the key does not exist

@Avital-Fine

@Avital-Fine

This looks great - a few doc tweaks and good to go +1 - since it's just docs I'll merge in and watch builds. Need to add release notes for this one yet!

@NickCraver Sorry! Always forget the release notes ๐Ÿ˜…

@NickCraver

@Avital-Fine I changed the return here given what redis returns and consistency with a few other APIs for that case (null does clearly indicate missing) - can you confirm this makes sense to you? If not we can tweak further.

@NickCraver Makes sense, but need to update the doc ;)

Good call - thanks!