Skip to content

Clarify top level "links" key. #250

@ethanresnick

Description

@ethanresnick

If I understand correctly, there are two ways to specify a key–value pair in the top-level links section:

  • "path": "url-template", and
  • "path": {"type": "type", "href": "url-template"}.

But the URL Templates section, in describing the behavior of the links section, only describes the first case. Specifically, it says: "The value of each key is interpreted as a URL template." But, to accommodate the second case, it should read (something like): "For each key, if its value is a string, then its value is interpreted as a url template; if its value is an object, its value's href property is interpreted as a url template."

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy