Skip to content

@computed is not recognized unless defined directly on the model #284

@EcksDy

Description

@EcksDy

There is a BaseType and SomeModel that extends it. BaseType has a property comp_prop with @computed() attribute on it.

After generating schema.ts and instantiating a ZenClient, SomeModel won't be found in computedFields.

@computed() works properly if it's defined on the model directly.

version: 3.0.0-beta.8

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