Skip to content

Commit

Permalink
Add DI alias for customer service
Browse files Browse the repository at this point in the history
  • Loading branch information
hkreuter committed Jun 11, 2024
1 parent 8341175 commit 343d338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0] - Unreleased
## [3.1.0] - Unreleased

### Added
- `variantSelections` query for fetching multidimensional variants [PR-11](https://github.com/OXID-eSales/graphql-storefront-module/pull/11)
Expand Down Expand Up @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `OxidEsales\GraphQL\Storefront\Customer\Infrastructure\Repository::getCustomerByPasswordUpdateHash`
- `OxidEsales\GraphQL\Storefront\Customer\Service\Password::sendPasswordForgotEmail`
- `OxidEsales\GraphQL\Storefront\Customer\Service\Password::resetPasswordByUpdateHash`
- Alias for `OxidEsales\GraphQL\Storefront\Customer\Service\Customer` for DI compatibility

### Changed
- Replace webmozart/path-util usage with symfony/filesystem
Expand Down
2 changes: 2 additions & 0 deletions src/Customer/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
arguments:
TheCodingMachine\GraphQLite\Security\AuthorizationServiceInterface: '@OxidEsales\GraphQL\Base\Service\Authorization'

OxidEsales\GraphQL\Storefront\Customer\Service\Customer: '@OxidEsales\GraphQL\Storefront\Customer\Service\CustomerInterface'

OxidEsales\GraphQL\Storefront\Customer\Service\CustomerRegisterInput:
public: true

Expand Down

0 comments on commit 343d338

Please sign in to comment.