Giter Site home page Giter Site logo

Comments (6)

enact-on avatar enact-on commented on June 2, 2024 1

@ReeceM
As mentioned above, currently we are using the latest version because we have moved to Laravel 10

But v2.x and v3.x code looks good.

Change occurred in v4.x , i've shared the code change in original comment.

from laravel-mail-editor.

enact-on avatar enact-on commented on June 2, 2024

return app()->call([self::handleMailableViewDataArgs($instance), 'build']);

Looks in v3 also has build method in it. But in v4 its not calling it anymore.

from laravel-mail-editor.

ReeceM avatar ReeceM commented on June 2, 2024

Hi @enact-on, sorry there is a bug that is breaking your app. What version are you using?

from laravel-mail-editor.

enact-on avatar enact-on commented on June 2, 2024

Hi @ReeceM

Did you get to review this? "build" method is no longed called in v4.

This is unexpected change in v4, its breaking change for our use case.

from laravel-mail-editor.

ReeceM avatar ReeceM commented on June 2, 2024

@enact-on Unfortunately I work in the week and have commitments on some of the other days.

What I just want to ask do your markdown mails work with the latest version of laravel tho, not with the package?

from laravel-mail-editor.

enact-on avatar enact-on commented on June 2, 2024

Yes , our mailables works fine in all Laravel v7,8,9,10.

Because Mailable, the build method gets called by Laravel so it works fine.
In case of package v4, build method isn't called, hence it can't preview or edit template.

Hope this answers.

Thanks for your support, totally understandable your commitment.

from laravel-mail-editor.

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.