Skip to content

Synchronous get for hasOne relation not working #4302

@ewrayjohnson

Description

@ewrayjohnson

Synchronous get for hasOne relations does not work.
Identical code for a belongsTo relation works.

Steps to reproduce

Create a hasOne relation and call the synchronous get.

Current Behavior

const component = container.component(); // component is undefined

Expected Behavior

const component = container.component(); // this should work

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