这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: export of embed properties when struct type is not exported #822

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

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

iamnoah
Copy link
Contributor

@iamnoah iamnoah commented May 12, 2025

TestUnexportedEmbed demonstrates how the JSON is serialized. This fixes the generated spec so those fields are documented.

Fixes #444

TestUnexportedEmbed demonstrates how the JSON is serialized. This fixes the generated spec so those fields are documented.

Fixes danielgtaylor#444
Copy link
Owner

@danielgtaylor danielgtaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 👍

@danielgtaylor danielgtaylor merged commit ad06eb9 into danielgtaylor:main Jun 19, 2025
@iamnoah iamnoah deleted the unexported-embed branch June 19, 2025 13:08
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.

Unexported Fields in Schemas are Not Considered for Schema Generation
2 participants