Skip to content

Commit

Permalink
Use Prismic\LinkResolver as the service id for the shipped link resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteel committed Jun 10, 2020
1 parent a5b32db commit 7c871d1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

All notable changes to this project will be documented in this file, in reverse chronological order by release.

## 0.2.2 - 2020-06-10

### Added

- Nothing.

### Changed

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- The default link resolver is now listed in the container using `Prismic\LinkResolver` which is what most consumers will want…

## 0.2.1 - 2020-06-10

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ private function dependencies() : array
Middleware\PrismicTemplateHandler::class => Middleware\Container\PrismicTemplateHandlerFactory::class,
Middleware\WebhookHandler::class => Middleware\Container\WebhookHandlerFactory::class,
Prismic\ApiClient::class => Container\ApiFactory::class,
Prismic\LinkResolver::class => Container\LinkResolverFactory::class,
Prismic\ResultSet\StandardResultSetFactory::class => Container\StandardResultSetFactoryFactory::class,
ResultSet\HydratingResultSetFactory::class => ResultSet\Container\HydratingResultSetFactoryFactory::class,
ResultSet\TypeMap::class => ResultSet\Container\TypeMapFactory::class,
Router\DocumentResolver::class => Router\Container\DocumentResolverFactory::class,
Router\RouteMatcher::class => Router\Container\RouteMatcherFactory::class,
Router\RouteParams::class => Router\Container\RouteParamsFactory::class,
LinkResolver::class => Container\LinkResolverFactory::class,
],
'aliases' => [
Prismic\ResultSet\ResultSetFactory::class => Prismic\ResultSet\StandardResultSetFactory::class,
Expand Down

0 comments on commit 7c871d1

Please sign in to comment.