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

List types in preferred order in request #15

Closed
brownhoward opened this issue Sep 24, 2021 · 2 comments
Closed

List types in preferred order in request #15

brownhoward opened this issue Sep 24, 2021 · 2 comments

Comments

@brownhoward
Copy link

As only a single channel will be returned, I suggest that the request lists the types in preferred order just in case there is multiple overlap. In this way, the client gets their preferred type that is supported by the server.

Originally posted by @kevin-inrupt in solid/notifications-panel#3 (comment)

@brownhoward brownhoward changed the title OK. As only a single channel will be returned, List types in preferred order in request List types in preferred order in request Sep 24, 2021
@csarven csarven transferred this issue from solid/notifications-panel Oct 27, 2021
@csarven
Copy link
Member

csarven commented Nov 29, 2022

Once a client discovers the supported subscription types supported by a notification server, the client only really needs to request the subscription type it prefers.

I'm not sure if there a significant use case to use set an order or alternative semantics where a subscription is made for each type.

If the request includes an array of subscription types, I think the notification server behaviour can be left undefined, i.e., a variable behaviour, so the server can take any one. (Unless we put stronger semantics on a valid type value but I suggest against this.)

@csarven
Copy link
Member

csarven commented Dec 11, 2022

Resolved by #130 in that the subscription request data model requires one type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants