Skip to content

[Feature]: Rename Container.loadSync and Container.load #1049

@notaphplover

Description

@notaphplover

🚀 Feature Proposal

  • Container.loadSync should be renamed to Container.load.
  • Container.load should be renamed to Container.loadAsync.

Motivation

Every feature follows the same convention: the async version is name with an async suffix.

The only exception are Container.loadSync and Container.load. This naming convention came in the v7 release, in which I clearly underestimated the impact of breaking changes and therefore I ended up with an async Container.load, no sync version and some developers needing the sync version of this feature.

Renaming them back will help us to respect our own naming conventions.

Metadata

Metadata

Assignees

Labels

Projects

Status

Draft

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions