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

Allow zero hops for flashNow() #8

Merged
merged 4 commits into from
Apr 14, 2021

Conversation

timdev
Copy link
Contributor

@timdev timdev commented Apr 1, 2021

Q A
Documentation no
Bugfix yes(-ish)
BC Break (probably) no
New Feature eh, kinda?
RFC yes
QA no

Description

See discussion on #7.

This PR allows passing zero as the third argument to flashNow(), enabling users
to set a message that is visible only on the current request.

@froschdesign
Copy link
Member

@timdev
In #9 you have added a good documentation but here it is missing. Please add also here an example with description otherwise: what is not documented does not exist.

Thanks in advance! 👍

@timdev
Copy link
Contributor Author

timdev commented Apr 7, 2021

@froschdesign
Docs updated.

@froschdesign
Copy link
Member

@timdev
The DCO check fails with your last commit: https://github.com/mezzio/mezzio-flash/pull/8/checks?check_run_id=2347136649

@timdev timdev force-pushed the topic/7-flashnow-allow-zero-hops branch from b980da7 to 3513492 Compare April 14, 2021 21:24
@timdev
Copy link
Contributor Author

timdev commented Apr 14, 2021

D'oh. Fixed now.

@froschdesign froschdesign merged commit 94467bd into mezzio:1.2.x Apr 14, 2021
@froschdesign
Copy link
Member

@timdev
Thank you for your time and this contribution! 👍

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

Successfully merging this pull request may close these issues.

flashNow() messages persist beyond the current request
2 participants