inngest / inngest-js

The developer platform for easily building reliable workflows with zero infrastructure for TypeScript & JavaScript
https://www.inngest.com/
GNU General Public License v3.0
414 stars 41 forks source link

Fix function-level middleware stack typing being missing #576

Closed jpwilliams closed 4 months ago

jpwilliams commented 4 months ago

Summary

Since 3.16.0, function-level middleware typing has not been correctly stacking on client-level middleware.

This PR adds test coverage for this as well as runtime verification of the values being passed.

Checklist

Related

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 81a126c46803914d547a1ca78907a99d5ee620d0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------- | ----- | | inngest | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR