Giter VIP home page Giter VIP logo

Comments (7)

brianbianco avatar brianbianco commented on May 29, 2024

Whoops this should be a check for .nil and .empty or the documentation should be updated to say nil instead of empty string. Ill fix this ASAP.

from redisio.

brentonr avatar brentonr commented on May 29, 2024

Well, there's a difference between "nil", which gives you default values, and empty string (or whatever would be appropriate) to allow you to disable the values - would that be a correct interpretation of what's supposed to be allowed?

I originally tested using .empty, but that still doesn't allow one the option of disabling the values - instead, it's only giving you the defaults when using an empty string (just like the default of nil).

from redisio.

brianbianco avatar brianbianco commented on May 29, 2024

You know I hadn't even thought about that. I suppose the empty string should disable it and nil should be the default values. Although that does feel slightly wrong to me somehow. As long as its documented, no big deal.

from redisio.

brentonr avatar brentonr commented on May 29, 2024

I suppose passing an empty list could be a possible way? I agree with you, though - as long as it's documented, anything should work :)

from redisio.

astlock avatar astlock commented on May 29, 2024

Hello. Is it fixed now?

from redisio.

brianbianco avatar brianbianco commented on May 29, 2024

Sorry been a little underwater with work. I will try to have this fixed by end of week.

from redisio.

lock avatar lock commented on May 29, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from redisio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.