Skip to content

fix(routing): Extract routes even with multiple registerRoutes calls - #78

Merged
provokateurin merged 1 commit into
mainfrom
fix/routing/multiple-register-routes
Jan 18, 2024
Merged

fix(routing): Extract routes even with multiple registerRoutes calls#78
provokateurin merged 1 commit into
mainfrom
fix/routing/multiple-register-routes

Conversation

@provokateurin

Copy link
Copy Markdown
Member

Happens in https://github.com/nextcloud/server/blob/master/apps/user_ldap/appinfo/routes.php, but in this particular case all the newly discovered routes have to be ignored.

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin

Copy link
Copy Markdown
MemberAuthor

CI failure is expected...

@nickvergessennickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🙈

Panic instead?

@provokateurin

Copy link
Copy Markdown
MemberAuthor

It's bad design, but not forbidden 🤷‍♀️

@provokateurin

Copy link
Copy Markdown
MemberAuthor

I'll wait with merging this one until right before nextcloud/server#42888 is merged so don't constantly have red CI

@nickvergessen

Copy link
Copy Markdown
Member

It's bad design, but not forbidden 🤷‍♀️

But we can forbid it for OpenApi? 😅

@provokateurin

Copy link
Copy Markdown
MemberAuthor

I don't see a problem with it tbh. With nextcloud/server#42678 this problem will be solved entirely anyway.

@provokateurinprovokateurin added the bug Something isn't working label Jan 17, 2024
@provokateurin
provokateurin merged commit 3b7b6ff into mainJan 18, 2024
@provokateurin
provokateurin deleted the fix/routing/multiple-register-routes branch January 18, 2024 14:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@provokateurin@nickvergessen