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

Add feature "sort" #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add feature "sort" #29

wants to merge 3 commits into from

Conversation

avtobiff
Copy link
Contributor

This feature indicates support for "locale", "sort-by", and "direction".

Fixes: #28

This feature indicates support for "locale", "sort-by", and "direction".

Fixes: #28
Copy link
Contributor

@kwatsen kwatsen left a comment

Choose a reason for hiding this comment

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

we need to discuss

@avtobiff
Copy link
Contributor Author

avtobiff commented Feb 6, 2025

The "direction" query parameter should be in the required set to implement.

feature sort {
description
'This feature indicates that the parameters "locale", "sort-by",
and "direction" are supported.';
Copy link
Contributor

Choose a reason for hiding this comment

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

This line needs to be updated too.

@@ -112,6 +119,7 @@ module ietf-list-pagination {
}

md:annotation locale {
if-feature "sort";
Copy link
Contributor

Choose a reason for hiding this comment

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

Not specific to this line, my comment applies to other if-feature statements as well:

Should sort be in double-quotes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In RFC 7950 complex if-feature statements are double quoted
and simple (i.e. single word) are not.

In RFC 8639 simple if-feature statements are double quoted
FWIW.

Should the double quotes be removed?

I don't have a strong opinion.

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.

Create if-feature "sort"
2 participants