Skip to content

Why does MarshalToJSONWithURLs only add links for relationships? #136

Open
@grounded042

Description

@grounded042

The JSON API format says that a top-level document may contain a links object. However, in api2go when you call MarshalToJSONWithURLs it only adds links to relationships. Could we get links for other objects as well?

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