-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Re-implement util functions using URL API #2954
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue also mentios the updateURL...
functions. Is there a reason these weren't changed?
@chvp The |
Is this used this way in a lot of places? Because if not, it might be worth to update the caller to provide the full URL, allowing us to also update the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also agree with @niknetniko's comment
Co-authored-by: Bart Mesuere <[email protected]>
So far, I only found this to be true in the function |
The easiest way to fix that there would probably be to add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be reassuring if some jest tests were added covering those new functions. In addition, it would make sense to "port" these functions to typescript.
@chvp do we already have a file where we can place such helper functions in ts?
We don't, no. |
Co-authored-by: Charlotte Van Petegem <[email protected]>
This pull request fixes 1 alert when merging cdafacc into b300479 - view on LGTM.com fixed alerts:
|
This pull request re-implements the helper URL functions by using the URL API. Also, a test file for these functions is added.
Closes #2614 .