Skip to content

Doesn't recognize Glimmer Components via runtime telemetry #394

@gitKrystan

Description

@gitKrystan

This codemod currently uses analyzeEmberObject exported from ember-codemods-telemetry-helpers. It turns out that the analyzeEmberObject implementation is very specific to the native class codemod that it was extracted from, and thus it only recognizes EmberObject and its descendants when determining the type property:

https://github.com/ember-codemods/ember-codemods-telemetry-helpers/blob/cf2bb9be57bd5cc454c73c61217db64d76c0dbed/lib/gather/analyze-ember-object.js#L158-L171

To fix this, we should replace analyzeEmberObject with our own implementation.

This is probably the root cause for:
#101

It might be related to:
#43

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