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

fix(core): allow CacheAdapter.get to return Promise<undefined> #5200

Merged
merged 1 commit into from Feb 1, 2024

Conversation

SnowMarble
Copy link
Contributor

@SnowMarble SnowMarble commented Feb 1, 2024

Closes #5199

@SnowMarble SnowMarble changed the title Allow Promise return type of get method in CacheAdapter to has undefined Allow Promise return type of get method in CacheAdapter to have undefined Feb 1, 2024
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dc57a3f) 99.74% compared to head (f3d68ce) 99.74%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5200   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files         222      222           
  Lines       16610    16610           
  Branches     4024     4024           
=======================================
  Hits        16568    16568           
  Misses         42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@B4nan B4nan changed the title Allow Promise return type of get method in CacheAdapter to have undefined fix(core): allow CacheAdapter.get to return Promise<undefined> Feb 1, 2024
@B4nan B4nan merged commit 98ce1e5 into mikro-orm:master Feb 1, 2024
11 checks passed
@B4nan
Copy link
Member

B4nan commented Feb 1, 2024

thanks!

@SnowMarble SnowMarble deleted the patch-1 branch February 1, 2024 17:31
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.

Return type of get method in CacheAdapter should also allow 'undefined'
2 participants