Skip to content

[Merged by Bors] - feat: Improve package name handling in OpaConfig #447

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

Closed
wants to merge 1 commit into from

Conversation

Pscheidl
Copy link
Contributor

Description

Leading forward slashes are removed. Dots are converted to forward slashes.
This is done in the document_url function, therefore the sanitization is
done on each call. Introducing a constructor and getters to perform the
sanitization at most once would be a breaking change, therefore not considered.

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

@Pscheidl
Copy link
Contributor Author

#367

Leading forward slashes are removed. Dots are converted to forward slashes.
This is done in the `document_url` function, therefore the sanitization is
done on each call. Introducing a constructor and getters to perform the
sanitization at most once would be a breaking change, therefore not considered.
Copy link
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you very much.

@maltesander
Copy link
Member

bors merge

bors bot pushed a commit that referenced this pull request Jul 28, 2022
## Description

Leading forward slashes are removed. Dots are converted to forward slashes.
This is done in the `document_url` function, therefore the sanitization is
done on each call. Introducing a constructor and getters to perform the
sanitization at most once would be a breaking change, therefore not considered.
@bors
Copy link
Contributor

bors bot commented Jul 28, 2022

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title feat: Improve package name handling in OpaConfig [Merged by Bors] - feat: Improve package name handling in OpaConfig Jul 28, 2022
@bors bors bot closed this Jul 28, 2022
nightkr added a commit that referenced this pull request Aug 1, 2022
bors bot pushed a commit that referenced this pull request Aug 1, 2022
## Description

*Please add a description here. This will become the commit message of the merge request later.*



Co-authored-by: Teo Klestrup Röijezon <[email protected]>
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.

2 participants