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

Added framework-nestjs example with dependency injection into inggest function #387

Closed anasabdullahysfzai closed 11 months ago

anasabdullahysfzai commented 11 months ago

Summary

Added framework-nestjs example with dependency injection into inggest function. Existing example doesnt mention about injecting dependency in inngest function thats why we added a logic to do so.

changeset-bot[bot] commented 11 months ago

⚠️ No Changeset found

Latest commit: 682668769cdef29e6b65894a8af41158205d4305

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

anasabdullahysfzai commented 11 months ago

@jpwilliams can you please review this PR

anasabdullahysfzai commented 11 months ago

Awesome! Thanks, @anasabdullahysfzai.

I'd love to also get an example going with nest-inngest (thawankeane/nest-inngest) later.

I've made it slightly more generic in a few places and we can improve as we go. Thanks so much for the contribution! 🙌

Thanks Jack. I havent yet checked nest-inggest myself. I will create its example once i have checked it out. Also I loved the idea behind inggest. I think this project should be promoted more often. Are there any plans to do so?