Skip to content

FR: ability to alias relationships #294

@edalzell

Description

@edalzell

Synopsis:

It's great you can define relationships with standard names, but sometimes I need a relationship to have a different name.

Proposed Syntax:

hasOne: User as lead

Expected Behavior:

The hasOne relationship is created with a lead() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions