Skip to content

Relation remote methods should not be defined using a resolver #533

Description

@ritch

This means all relation remote methods will be defined every time sharedClass.methods() is called. I'd like to remove this and instead implement it in a hook that runs after the model is setup. This will make the list of sharedClass.methods() static and make things like sharedClass.find(...).shared = false work for all cases.

Here is a proposal for that hook.

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