Class Resolver

public
import Resolver from '@ember/application/resolver';

A Resolver is the mechanism responsible for looking up code in your application and converting its naming conventions into the actual classes, functions, and templates that Ember needs to resolve its dependencies, for example, what template to render for a given route. It is a system that helps the app resolve the lookup of JavaScript modules agnostic of what kind of module system is used, which can be AMD, CommonJS or just plain globals. It is used to lookup routes, models, components, templates, or anything that is used in your Ember app.

This interface is not a concrete class; instead, it represents the contract a custom resolver must implement. Most apps never need to think about this: in the default blueprint, this is supplied by the ember-resolver package.

Show:

Module: @ember/owner
type
String
returns
Object
Module: @ember/owner
fullName
String
returns
String
Module: @ember/owner
factory
Factory
fullName
String
returns
String
Module: @ember/owner
fullName
String
returns
String
Module: @ember/owner
name
String

The one required method for a Resolver. Given a string, resolve it to a Factory, if one exists.