Skip to content

Error in code example on docs for one-to-many inverse relationship #82

@M3psipax

Description

@M3psipax

Describe the bug

See line https://github.com/vuex-orm/vuex-orm-next/blame/master/docs/guide/relationships/one-to-many.md#L67 .

The relationship is defined to belong to a Post with an id equal to userId, but Comment has no userId. I think it should be postId instead.

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