Git Product home page Git Product logo

Comments (9)

jameskleeh avatar jameskleeh commented on September 24, 2024

+1

from angular-http-auth.

witoldsz avatar witoldsz commented on September 24, 2024

This looks nice, I wish I did not consider it earlier. But now, what can I do? Should I break the API compatibility and force every one to update theirs code? Maybe once AngularJS 2.0 arrives, the new version of this module could apply this pattern, I like it.

from angular-http-auth.

jameskleeh avatar jameskleeh commented on September 24, 2024

Introducing a new major version doesn't force others to update to it

from angular-http-auth.

witoldsz avatar witoldsz commented on September 24, 2024

Yes, but I don't feel this one little convenience is enough to release a new major version.

from angular-http-auth.

christianrondeau avatar christianrondeau commented on September 24, 2024

I can still provide a pull request if you are interested in releasing a new version.

Another approach would be to create a second event; it bloats the code but won't break existing implementations.

What do you think?

from angular-http-auth.

witoldsz avatar witoldsz commented on September 24, 2024

Pull request does not hurt :) You can open one, I won't pull it now, but I will keep an eye on it, so when new major version would be prepared, I could merge it.

from angular-http-auth.

christianrondeau avatar christianrondeau commented on September 24, 2024

With the breaking change or the new event? Even though I prefer the breaking change, it's up to you.

from angular-http-auth.

witoldsz avatar witoldsz commented on September 24, 2024

Braking change I guess, no need to keep them both...

from angular-http-auth.

christianrondeau avatar christianrondeau commented on September 24, 2024

I just made available a pull request for this (#70). I think it needs a peer review, otherwise feel free to pull if you're happy with it!

from angular-http-auth.

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.