Skip to content

Warn when model attributes shadow native methods #3

@d-Pixie

Description

@d-Pixie

Currently if a model declaration would have an attribute with the same name as any of the model instance methods the attribute accessor would overwrite the method definition.

Instead we should warn the implemented if this happens and suggest it enforce they choose a different model name for that attribute.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions