Skip to content

Embedded structs are not marshalled #15

@Delerme

Description

@Delerme

Describe the bug
Feel free to file as a feature request if this is intentional behavior.
The standard json marshaller includes embedded structs but the jsonapi marshaller does not.

Expected behavior
Currently embedded structs are not marshalled: https://go.dev/play/p/hLwiUcAHHcF
However the json marshaller does: https://go.dev/play/p/3cBZDtVDyke

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions