Giter Site home page Giter Site logo

Comments (3)

stevedomin avatar stevedomin commented on May 3, 2024

I meant the underlying "driver" for the adapter. That way bamboo benefits from the latest improvements in the API and their client libraries (less maintenance work for you).

from bamboo.

paulcsmith avatar paulcsmith commented on May 3, 2024

@stevedomin I thought about doing that, but decided against it for a couple of reasons

  • If you want to update just the Mandrill dependency in your app, but Bamboo hasn't been updated, you could have conflicts and have to override the mandrill version, which might cause issues. Or if you update Bamboo and it requires a new version of Mandrill, you may not want to update the rest of your app to use the new version of the Mandrill package.
  • The actual implementation for sending emails is pretty small: https://github.com/paulcsmith/bamboo/blob/master/lib/bamboo/adapters/mandrill_adapter.ex#L6-L34 Most of those lines are for the error message.
  • The Mandrill package includes a ton of extra functions that Bamboo doesn't really use or need.

So in the end, I don't think maintaining it in Bamboo will be hard, and will likely be better for end users since they won't have to worry about Mandrill version mismatches.

What do you think?

from bamboo.

paulcsmith avatar paulcsmith commented on May 3, 2024

Chatted on Slack. I may move adapters out of Bamboo core, but for now I'll keep them here for simplicity

from bamboo.

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.