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

Shift the invalid function config error to a warning #634

Closed jpwilliams closed 3 months ago

jpwilliams commented 3 months ago

We just log this in case someone has included extra properties.

Summary

Make the Config invalid for function error a warning instead; we still register the function in question and only really use this log to highlight extraneous keys.

Checklist

Related

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: d611339d9a833ee32c4757a6f0846986c16154d6

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