Comments (1)
Right now this cannot be implemented because the data converted doesn't know the types in the union (the type provided by temporal sdk is mixed
).
To workaround this limitation I usually create a Result wrapper data object:
class ActivityResult extends Data {
public function __construct(
public bool $success,
public ?FooData = null,
) {}
}
from laravel-temporal.
Related Issues (13)
- Support for parallel testing? HOT 11
- Root folder for Temporal stuff HOT 3
- pls close
- Running child workflows don't get picked up by the worker HOT 4
- Relations of UUID models not working when using temporal serialize
- Allow in config/temporal.php to over ride the WorkerFactory::class that is being used by the worker HOT 2
- Allow for custom error handling for workers HOT 2
- Getting an error with the chokidar package when using php artisan temporal:work --watch HOT 2
- RuntimeException: Failed to start Temporal test server: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory HOT 2
- Unable to find rr binary HOT 2
- Temporal mock workflow unable to be picked up during test HOT 5
- Random error in testing environment HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-temporal.