docs: add resolvePromise examples for Resolver and ResolverFactory#555
docs: add resolvePromise examples for Resolver and ResolverFactory#555alexander-akait merged 1 commit intomainfrom
Conversation
The README's `ResolverFactory.createResolver` and "Creating a Resolver" sections only showed the callback API, even though the prose mentions all three methods. Add `resolvePromise` (and `resolveSync` where it made sense) examples so users can see how to consume the promise API on a resolver instance.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #555 +/- ##
=======================================
Coverage 96.62% 96.62%
=======================================
Files 50 50
Lines 2812 2812
Branches 871 871
=======================================
Hits 2717 2717
Misses 79 79
Partials 16 16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The README's
ResolverFactory.createResolverand "Creating a Resolver"sections only showed the callback API, even though the prose mentions
all three methods. Add
resolvePromise(andresolveSyncwhere itmade sense) examples so users can see how to consume the promise API
on a resolver instance.