inngest / inngestgo

Durable execution in Go with the Golang Inngest SDK. Write durable functions in your existing app.
https://pkg.go.dev/github.com/inngest/inngestgo
Apache License 2.0
29 stars 3 forks source link

Add AllowInBandSync handler option #58

Closed amh4r closed 2 months ago

amh4r commented 2 months ago

Add HandlerOpts.AllowInBandSync to control whether in-band syncs are allowed.

This is necessary because only using an env var (INNGEST_ALLOW_IN_BAND_SYNC) makes tests really hard to write, since env vars aren't scoped to individual tests.