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
Formally specify how dart:
and package:
URIs work.
#45699
Comments
Dart
|
Looks good! But wouldn't it fit better in the language repo? |
I decided not. The language may want to have a say about it too (mainly to say that |
We currently have our tools support
package:
URIs anddart:
URIs, but we haven't formally specified how they actually work (wrt. canonicalization/normalization/relative URI reference resolution).I have a fixed definition of
package:
URIs in mind, and have implemented it in both theUri
class andpackage:package_config
, but we don't have a central repository for that definition.We have no definition of
dart:
URIs other than people being allowed to writedart:async
. We have internal uses of more complicateddart:
URIs, but again no formal specification. We are now considering allowing user-facing URIs likedart:something/lints/recommended.yaml
links to specify platform recommended lints. Before doing that, we should specify the rules for such URIs and possibly ensure that theUri
class supports that too.I'll follow up with a proposal for the
dart:
URI formalization.The text was updated successfully, but these errors were encountered: