mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Removes the deprecated `InjectFlags` symbol from the `@angular/core` public API, as well as all the places that accept it. The previous commit includes an automated migration to switch over to the new way of passing in flags. BREAKING CHANGE: * `InjectFlags` has been removed. * `inject` no longer accepts `InjectFlags`. * `Injector.get` no longer accepts `InjectFlags`. * `EnvironmentInjector.get` no longer accepts `InjectFlags`. * `TestBed.get` no longer accepts `InjectFlags`. * `TestBed.inject` no longer accepts `InjectFlags`. PR Close #60318 |
||
|---|---|---|
| .. | ||
| common | ||
| core | ||
| forms | ||
| http | ||
| injection-token | ||
| platform-browser | ||
| router | ||
| service-worker | ||
| test-utils | ||
| testing | ||
| upgrade | ||
| BUILD.bazel | ||
| index.html | ||
| README.md | ||
| tsconfig-e2e.json | ||
API Examples
This folder contains small example apps that get in-lined into our API docs. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.
Running the examples
# Serving individual examples (e.g. common)
yarn bazel run //packages/examples/common:devserver
# "core" examples
yarn bazel run //packages/examples/core:devserver
Running the tests
yarn bazel test //packages/examples/...