Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow passing transaction options to drivers #168

Merged
merged 6 commits into from
Feb 28, 2023
Merged

feat: allow passing transaction options to drivers #168

merged 6 commits into from
Feb 28, 2023

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 28, 2023

This PR allows passing an extendable options parameter to all transaction functions in storage core and drivers.

This unlocks a way to support transactional authentication (single storage multi user) and native options such as ttl like #35

@vercel
Copy link

vercel bot commented Feb 28, 2023

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

Name Status Preview Updated
unstorage ✅ Ready (Inspect) Visit Preview Feb 28, 2023 at 8:53PM (UTC)

@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #168 (3e71cf4) into main (002a604) will increase coverage by 0.29%.
The diff coverage is 95.19%.

❗ Current head 3e71cf4 differs from pull request most recent head 58e0004. Consider uploading reports for the commit 58e0004 to get more accurate results

@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
+ Coverage   79.26%   79.55%   +0.29%     
==========================================
  Files          22       22              
  Lines        2286     2338      +52     
  Branches      401      404       +3     
==========================================
+ Hits         1812     1860      +48     
- Misses        474      478       +4     
Impacted Files Coverage Δ
src/storage.ts 89.83% <88.37%> (-0.80%) ⬇️
src/types.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@nuxt-studio
Copy link

nuxt-studio bot commented Feb 28, 2023

Live Preview ready!

Name Edit Preview Latest Commit
unstorage Edit on Studio ↗︎ View Live Preview 91a8361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant