Git Product home page Git Product logo

Comments (5)

highlyunavailable avatar highlyunavailable commented on July 26, 2024

After looking through the code I'm not entirely sure why I made the setter internal in the first place, to be quite honest.

There's a couple other places you might run into problems since the CreateIndex/ModifyIndex is usually a private setter. Do you need private setters to be public setters as well (e.g. Consul.KVPair.ModifyIndex)? I made those private because they technically should only be set by Consul responses but I guess if the developer is assigning to ModifyIndex they've presumably got a good reason so it really doesn't matter if they're public setters.

from consuldotnet.

highlyunavailable avatar highlyunavailable commented on July 26, 2024

Alright @jhickson , I've made all the bits that need to be have public setters from what I can tell. AppVeyor keeps failing intermittently but my local builds are working so it may be a bit of time before I produce a package, but this should be fixed next release.

from consuldotnet.

highlyunavailable avatar highlyunavailable commented on July 26, 2024

Fixed in 0.6.3.6: https://www.nuget.org/packages/Consul/0.6.3.6

Have fun, and please let me know if you run into any other issues.

from consuldotnet.

jhickson avatar jhickson commented on July 26, 2024

Hi @highlyunavailable, thanks for that. I'll update and see how I go.

Sorry for the radio silence but I headed home from work not long after adding the issue and have just got in this morning.

I'm not sure about the CreateIndex/ModifyIndex setters as I'm not currently using them but I'll update you if I do.

from consuldotnet.

highlyunavailable avatar highlyunavailable commented on July 26, 2024

No problem at all. I just made them publicly settable anyway because I figured that someone would need them.

from consuldotnet.

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.