Giter Site home page Giter Site logo

Comments (7)

EugenMayer avatar EugenMayer commented on May 28, 2024

very urgent for me, more or less fork or force, my complete stack is offline due to this ;/

from diplomat.

johnhamelink avatar johnhamelink commented on May 28, 2024

@eugenmayor obviously Iā€™d recommend in the first instance you revert to an older version of the gem which fixes your immediate problems, then we can look at fixing. A really useful thing would be for you to create a unit test which mimics your current problems so we can fix them specifically

from diplomat.

EugenMayer avatar EugenMayer commented on May 28, 2024

Iam on vacation right now, won't be able to provide further details before tomorrow 11am CET. Basically all recursive convert to hash are now flatted arrays with keys as string, full path. So no more multi level hasmap but rather flatted array as it has been before convert to hash

from diplomat.

netguino avatar netguino commented on May 28, 2024

Just to add more data to this:

2.0.0 returns:

Diplomat::Kv.get('g/web/maxconn')
=> "20000"

2.0.1 returns:

Diplomat::Kv.get('g/web/maxconn')
=> [{:key=>"g/web/maxconn", :value=>"20000"}]
 Diplomat::Kv.get('g/web/maxconn', convert_to_hash: true)
=> {"g"=>{"web"=>{"maxconn"=>"20000"}}}}

from diplomat.

taharah avatar taharah commented on May 28, 2024

Alright I'm going to revert the change in 2.0.1 that introduced this issue since it seems to have also introduced #153. We'll need to revisit the possibility of consistent returns at a later date.

from diplomat.

taharah avatar taharah commented on May 28, 2024

This should be fixed in v2.0.2 of the gem @EugenMayer that reverts the change introduced in #120.

from diplomat.

taharah avatar taharah commented on May 28, 2024

Closing this out since there has not been any additional reports of issues since reverting the change.

from diplomat.

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.