Skip to content

Inline used @ember/string methods directly #932

Closed

Description

@lifeart

After ember@5 - ember-resolver is only one "bundled" dependency with @ember/string.

This ticket is created to follow on @ember/string deprecation.

We need to inline @ember/string methods here (used in resolver).

https://github.com/emberjs/ember-string/blob/master/addon/index.ts

https://github.com/ember-cli/ember-resolver/blob/main/addon/addon/index.js#L6

Activity

  1. lifeart commented on Jul 13, 2023

    @lifeart
    ContributorAuthor

    In addition, it seems very valid to have infinity cache (https://github.com/emberjs/ember-string/blob/master/addon/cache.ts) here for resolver (because amount of items is finite) to not trigger gc in large ember applications during loading/components rendering.

    upd: it's better to move @ember/string as is (for now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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