Skip to content

PresentationConnection.url should be optional? #325

Closed

Description

@markafoltz

The algorithm steps for creating a PresentationConnection set the url attribute after construction. It seems like we should make the attribute optional (like id) since it is not set in the constructor.

Activity

  1. markafoltz commented on Jul 13, 2016

    @markafoltz
    ContributorAuthor

    Three algorithms that create PresentationConnection objects and set attributes after construction:

    Alternatively, we could define a constructor that takes the url and id and modify the algorithms to use that; which seems better, since the API is not intended is to expose PresentationConnections without these properties set.

  2. markafoltz commented on Aug 18, 2016

    @markafoltz
    ContributorAuthor

    Reviewing the spec, in all cases where the user agent instantiates a PresentationConnection, it sets both the URL and the ID before returning it to the caller. So it makes more sense to make both PresentationConnection.id and PresentationConnection.url mandatory.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions