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

consider lowering fundamental types to separate modules #179

Open
tayloraswift opened this issue Oct 9, 2023 · 0 comments
Open

consider lowering fundamental types to separate modules #179

tayloraswift opened this issue Oct 9, 2023 · 0 comments

Comments

@tayloraswift
Copy link

this library contains a lot of useful features (e.g. IPv4Address, percent encoding, etc.) that could be lowered into separate modules that the downstream WebURL module imports. this means some parsing APIs might need to become cross-module extensions, but this shouldn’t be a problem for modern documentation tooling.

from a brief inspection of the codebase, it appears the main blocker is a number of dialectical utility APIs in Sources/WebURL/Util. so the first step might be to lower the utility support to separate module. (sadly, this means a lot of @inlinable internal/@usableFromInline internal things must become public and pollute standard library namespaces, but that is just a fact of swift…)

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

No branches or pull requests

1 participant