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

Use a re-exported serde_json dependency in macros #1243

Merged

Conversation

Sufflope
Copy link
Contributor

@Sufflope Sufflope commented Dec 17, 2024

Hello, here is a proposal to avoid shadow-depending on serde_json when using derives.

Fixes #1172

Copy link
Owner

@juhaku juhaku left a comment

Choose a reason for hiding this comment

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

Great, thanks for the patch 🎉

@juhaku
Copy link
Owner

juhaku commented Dec 18, 2024

Just one thing, a CHANGELOG.md entry for the change would be good to add in utoipa/CHANGELOG.mdand utoipa-gen/CHANGELOG.md. Newest entry to the top and should be under the Unreleased and Changed title.

@Sufflope Sufflope force-pushed the 1172_undocumented_serde_json_dependency branch from 0b61c63 to 2c498b9 Compare December 18, 2024 14:32
@Sufflope
Copy link
Contributor Author

Done. I rebased on latest master and merged the duplicate Changed section introduced by latest commit.

Copy link
Owner

@juhaku juhaku left a comment

Choose a reason for hiding this comment

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

Great, thanks 👍

@juhaku juhaku merged commit f6ac333 into juhaku:master Dec 18, 2024
12 checks passed
juhaku pushed a commit that referenced this pull request Dec 18, 2024
Re-exports `serde_json` to enable users to not directly depend on `serde_json`.

Fixes #1172
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.

Undocumented serde_json dependency
2 participants