Skip to content

[v5] sourceKey missing from HasOneOptions #175

@billybarnum

Description

@billybarnum

I previously submitted issue #29414 for v4 that scope was missing from AssociationOptionsBelongsTo and sourceKey was missing from AssociationOptionsHasOne.

It looks like BelongsToOptions now has scope (inherited from AssociationOptions), so that is fixed. However sourceKey is still missing from HasOneOptions. It probably needs to be added to AssociationOptions as well, but I'll let you guys decide that.

I'm working with some legacy databases and I'm broken without this. Worse, I can't seem to patch it locally with declare module overrides as I could in v4, now that the typings are distributed in different files. Any help there appreciated; my typescript experience is ... modest.

Thanks,

-Billy

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