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

HashMap key is an Option<Rel> even though the relation has been required since 2017 #7

Closed
mdharm opened this issue Jan 6, 2022 · 0 comments · Fixed by #11
Closed

Comments

@mdharm
Copy link
Collaborator

mdharm commented Jan 6, 2022

Using an Option<Rel> allows for compatibility with Link: headers that do not include the rel parameter. However, in many situations that parameter is guaranteed to be present, needlessly cluttering the code.

A compile-time feature to make the HashMap key just Rel would be useful.

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 a pull request may close this issue.

1 participant