Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Adding Pipeline Facade #46271

Merged
merged 5 commits into from
Mar 3, 2023
Merged

[10.x] Adding Pipeline Facade #46271

merged 5 commits into from
Mar 3, 2023

Conversation

byt3sage
Copy link
Contributor

@byt3sage byt3sage commented Feb 25, 2023

Hey All!
I have a feeling there is a distinct reasoning behind why this hasn't been done before but here it goes. I love pipelines... I also love facades... Why not merge the two and have a pipeline facade?

This is the simplest implementation I could think of. It almost feels too simple so I'm sure there's some form of logic I have missed.

I'd love some feedback to try get this pushed into Laravel as a core facade!

Happy for this to be closed if it's a non-starter!

P.S - I'll be doing some light tweaking of bits, just thought I'd push this up first so I don't waste my time if it's never going to be accepted :)

@byt3sage byt3sage changed the title feat: added in pipeline facade, added singleton binding [10.x] Adding Pipeline Facade Feb 25, 2023
@JordanDalton
Copy link

I've proposed a helper (#46198) but haven't heard back from the team that approves PRs.

@byt3sage
Copy link
Contributor Author

byt3sage commented Feb 25, 2023 via email

@byt3sage
Copy link
Contributor Author

So I've disabled caching on the facade (I totally didn't even know what was a feature!) - happy to take suggestions from anyone else as to what needs doing to get this merged :)

@byt3sage byt3sage requested review from rodrigopedra and rojtjo and removed request for rodrigopedra and rojtjo March 2, 2023 11:43
Copy link
Contributor

@rodrigopedra rodrigopedra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@taylorotwell
Copy link
Member

You said you will be doing some "light tweaking". I can't review the PR until it is totally complete. Please mark as ready for review when that is done.

@taylorotwell taylorotwell marked this pull request as draft March 2, 2023 19:10
@byt3sage
Copy link
Contributor Author

byt3sage commented Mar 2, 2023 via email

@byt3sage byt3sage marked this pull request as ready for review March 2, 2023 20:09
@byt3sage
Copy link
Contributor Author

byt3sage commented Mar 2, 2023

Just to re-iterate, the light tweaking was just making sure the correct docblocks etc were added - hence I requested a re-review from the people who raised additional comments :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants