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

[FIX] Improve library request handling #251

Merged
merged 8 commits into from
Oct 7, 2020

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Sep 29, 2020

No description provided.

@@ -7,8 +7,7 @@ async function init(config, logger) {
await framework.init({config, logger});
Copy link
Member Author

Choose a reason for hiding this comment

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

This already ensures that the plugin setup (incl. async tooling setup) is done before requests come in...

@@ -17,13 +16,6 @@ init.$inject = ["config", "logger"];

module.exports = {
"framework:ui5": ["factory", init],
"middleware:ui5--pauseRequests": ["factory", function() {
Copy link
Member Author

Choose a reason for hiding this comment

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

... therefore pausing requests is not required anymore

@matz3 matz3 marked this pull request as ready for review October 1, 2020 07:35
next();
}
};
rewriteUrlBefore(url) {
Copy link
Member

Choose a reason for hiding this comment

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

It would be great to have a comment for this and rewriteUrl explaining their purpose

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@matz3 matz3 changed the title Improve library request handling [FIX] Improve library request handling Oct 7, 2020
@matz3 matz3 merged commit 762cde2 into master Oct 7, 2020
@matz3 matz3 deleted the improve-library-request-handling branch October 7, 2020 09:23
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

2 participants