Skip to content

hydrus can't show nested collections #386

@vddesai1871

Description

@vddesai1871

I'm submitting a

  • bug report.
  • feature request.

Current Behaviour:

hydrus can't show nested collections. (eg. collection of comments on a particular issue/article)

Expected Behaviour:

Quoting @Mec-iS

we possibly want to return a hyperlink to the collection, not the full collection. same we did for nested object in Flock-Demo.

Possible approach

we can have a hyperlink to the endpoint of nested collection
something like

{ 
"@type": "Article", 
"@id": "api/articles/id", 
... 
"comments": "api/articles/id/comments", 
... 
} 

Steps to reproduce:

Run hydrus with real-world-app API Doc I submitted at HTTP-APIs/hydrus-real-world-app#2 (The API Doc is not complete but can be used to reproduce this issue by adding an article and trying to get/retrieve comments related to that article)

Do you want to work on this issue?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions