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

Deprecate custom JsonPatch implementation #16743

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

desertaxle
Copy link
Member

@desertaxle desertaxle commented Jan 16, 2025

Our JsonPatch subclass is harshing our type completeness vibes. We don't use it internally any longer, so this PR deprecates it and moves it to a _deprecated module so pyright will ignore it during type completeness checks. Our JsonPatch subclass will remain available for import, but doing so will raise a DeprecationWarning.

Copy link

codspeed-hq bot commented Jan 16, 2025

CodSpeed Performance Report

Merging #16743 will not alter performance

Comparing deprecate-custom-json-patch (6c21979) with main (e18e438)

Summary

✅ 2 untouched benchmarks

@desertaxle desertaxle marked this pull request as ready for review January 16, 2025 02:29
Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

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

harshing our type completeness vibes

heinous crimes!

🧹

@desertaxle desertaxle merged commit 83548e4 into main Jan 16, 2025
57 checks passed
@desertaxle desertaxle deleted the deprecate-custom-json-patch branch January 16, 2025 02:44
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.

2 participants