Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Regression in adonis4.x in passing properties to middleware fixes #22#23

Open
erikkallen wants to merge 2 commits intoenniel:masterfrom
erikkallen:master
Open

Regression in adonis4.x in passing properties to middleware fixes #22#23
erikkallen wants to merge 2 commits intoenniel:masterfrom
erikkallen:master

Conversation

@erikkallen
Copy link
Copy Markdown

This is my current workaround the syntax might not be as pretty but is does work let me know if this is a viable option

@coveralls
Copy link
Copy Markdown

coveralls commented Aug 29, 2018

Coverage Status

Coverage increased (+0.1%) to 87.375% when pulling 3a3ebc7 on erikkallen:master into fc179d4 on enniel:master.

Copy link
Copy Markdown

@cmelgarejo cmelgarejo left a comment

Choose a reason for hiding this comment

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

I had the same issue, awesome @erikkallen 👍

Copy link
Copy Markdown

@cmelgarejo cmelgarejo left a comment

Choose a reason for hiding this comment

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

Actually after trying again, you just have to use or and and instead of || and && in the expressions, no need to do another replacement! 😮
Just change the readme! (or just remove the commas and replace with spaces 😄 )

@erikkallen
Copy link
Copy Markdown
Author

@cmelgarejo you are right that looks a lot better too! I have updated the readme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants