Skip to content

Releases: Grazulex/laravel-flowpipe

Fix YAML send: with associative arrays

22 Dec 11:34
b120a5f

Choose a tag to compare

Bug Fixes

  • Fixed TypeError in resolveInitialPayload() - The method now accepts both string and array types, allowing YAML flow definitions to use send: with associative arrays directly.

Details

Previously, when using a YAML flow definition with a send: block containing key-value pairs:

send:
  name: "John"
  email: "john@example.com"

The flow would throw a TypeError: Argument #1 ($payloadClass) must be of type string, array given because the method only accepted strings.

This release fixes the issue by updating the method signature to string|array and handling arrays as direct payload data.

Fixes #55

Release v1.1.0

20 Jul 11:47
77f8947

Choose a tag to compare

Final version clean