Skip to content

Commit

Permalink
Merge branch '1-0-0' into 'main'
Browse files Browse the repository at this point in the history
v1-0-2

See merge request fluxlabs/flux-eco/aggregate-root!4
  • Loading branch information
mstuder committed Apr 12, 2022
2 parents a35a7d2 + d2d77fb commit ff206d0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## [1.0.2]
* fix: change signature
* fix: delete dignature

## [1.0.1]
* fixed create signature

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "flux-eco/aggregate-root",
"description": "Manage aggregate roots described as json schema",
"version": "1.0.1",
"version": "1.0.2",
"type": "flux-app",
"keywords": [
"flux-eco",
Expand Down
2 changes: 1 addition & 1 deletion fn/change.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ function change(
AggregateRoot\Api::newFromEnv()->change(
$correlationId,
$actorEmail,
$aggregateName,
$aggregateId,
$aggregateName,
$payload
);
}
4 changes: 2 additions & 2 deletions fn/delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function delete(
AggregateRoot\Api::newFromEnv()->delete(
$correlationId,
$actorEmail,
$aggregateName,
$aggregateId
$aggregateId,
$aggregateName
);
}
1 change: 0 additions & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class Api
{
private Adapters\ValueObjectProvider\ValueObjectProviderClient $valueObjectCreatorClient;
private Ports\AggregateRootService $aggregateRootService;
private Adapters\Outbounds $outbounds;

Expand Down
2 changes: 0 additions & 2 deletions src/Core/Ports/AggregateRootService.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public function create(
string $aggregateName,
string $payload
) : void {
echo "create AggregateRoot";

$aggregateRoot = Domain\AggregateRoot::new($aggregateId, $aggregateName, $this->outbounds);

$aggregateRoot->create(
Expand Down

0 comments on commit ff206d0

Please sign in to comment.