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

make implement route less strict #26

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

jfrconley
Copy link
Owner

Problem

implementRoute of the open api router was overly restrictive in it's type inference, preventing perfectly valid returns.

Solution

Modify type inference to be more flexible

Testing

Run test suite

Copy link

changeset-bot bot commented Mar 21, 2024

🦋 Changeset detected

Latest commit: 9ad9ce7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nornir/rest Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jfrconley jfrconley merged commit 14fbee6 into main Mar 21, 2024
3 checks passed
Copy link
Contributor

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 9.22% 133/1442
🔴 Branches 3.39% 18/531
🔴 Functions 16.61% 49/295
🔴 Lines 9.44% 130/1377

Test suite run success

42 tests passing in 6 suites.

Report generated by 🧪jest coverage report action from 9ad9ce7

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