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: backport Huma v2 example pointer fix from #148 #154

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

danielgtaylor
Copy link
Owner

This backports a fix from Huma v2 into Huma v1, enabling the use of examples for fields which are pointers. An example is added to the existing tests.

@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
schema/schema.go 89.37% <100.00%> (+0.27%) ⬆️

📢 Thoughts on this report? Let us know!.

@danielgtaylor danielgtaylor merged commit 100b20c into v1 Oct 23, 2023
3 checks passed
@danielgtaylor danielgtaylor deleted the backport-example-pointer-fix branch October 23, 2023 23:54
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