Skip to content

Rename "related" #478

@hhware

Description

@hhware

I am not positive that my feeling of English is adequate here, but I think related in links is somewhat confusing because the meaning of the word "related" is too broad: it may be perceived as something generally related, as opposed to the object being referred to by the relationship. So I suggest to replace it with referred (refers or reference might also work).

Before:

{
  "type": "articles",
  "id": "1",
  "title": "Rails is Omakase",
  "links": {
    "self": "http://example.com/articles/1",
    "author": {
      "self": "http://example.com/articles/1/links/author",
      "related": "http://example.com/articles/1/author",
      "linkage": { "type": "people", "id": "9" }
    }
  }
}

After:

{
  "type": "articles",
  "id": "1",
  "title": "Rails is Omakase",
  "links": {
    "self": "http://example.com/articles/1",
    "author": {
      "self": "http://example.com/articles/1/links/author",
      "referred": "http://example.com/articles/1/author",
      "linkage": { "type": "people", "id": "9" }
    }
  }
}

#477 can be viewed as a further improvement in this area.

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