Skip to content

Add ID Resolver #166

Closed
Closed
@elado

Description

@elado

Methods like destroy require id, and can't get the actual model as a parameter.

A resolver would get the idAttribute from the model. For example:

Article.destroy(article)

will access article[Article.idAttribute] to find ID in case this is an object.

Thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions