opennextjs / opennextjs-aws

Open-source Next.js adapter for AWS
https://open-next.js.org
MIT License
3.9k stars 119 forks source link

lazily initialize lite client #524

Open conico974 opened 2 days ago

conico974 commented 2 days ago

In some cases the env variable are not populated at import time, this make the lite client being able to handle this.

This also allow for some other use cases such as being able to use different region or different table/bucket/queue, by defining these env variable at runtime.

vercel[bot] commented 2 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 1:38pm
changeset-bot[bot] commented 2 days ago

⚠️ No Changeset found

Latest commit: 0edf13da48bba6a928fb372b78b7f45958b9a61a

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