Skip to content

Allow mixins to seamlessly override existing methods #304

@konne

Description

@konne

If I add a mixin I have no chance to make something like an "inserOrUpdate".

It would be great to have a section there I can add function and enigma gives me
as a parameter if this function exists or not.
So that I can decide in my mixin what to do.

For example. We develop an mixin like #272 and a later engine version delivers even on .app an getProperties.
With the current enigma.js we have no chance to write a generic working mixin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions