-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #488: Warn about unfinished handlers
- Loading branch information
Showing
32 changed files
with
506 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Temporal\Internal\Declaration\Prototype; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
final class QueryDefinition | ||
{ | ||
/** | ||
* @param non-empty-string $name | ||
*/ | ||
public function __construct( | ||
public readonly string $name, | ||
public readonly mixed $returnType, | ||
public readonly \ReflectionMethod $method, | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Temporal\Internal\Declaration\Prototype; | ||
|
||
use Temporal\Workflow\HandlerUnfinishedPolicy; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
final class SignalDefinition | ||
{ | ||
/** | ||
* @param non-empty-string $name | ||
*/ | ||
public function __construct( | ||
public readonly string $name, | ||
public readonly HandlerUnfinishedPolicy $policy, | ||
public readonly \ReflectionMethod $method, | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Temporal\Internal\Declaration\Prototype; | ||
|
||
use Temporal\Workflow\HandlerUnfinishedPolicy; | ||
|
||
/** | ||
* @internal | ||
*/ | ||
final class UpdateDefinition | ||
{ | ||
/** | ||
* @param non-empty-string $name | ||
*/ | ||
public function __construct( | ||
public readonly string $name, | ||
public readonly HandlerUnfinishedPolicy $policy, | ||
public readonly mixed $returnType, | ||
public readonly \ReflectionMethod $method, | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.