Skip to content

fix: gate MultiJSON shim on multi_json version - #300

Merged
apotonick merged 1 commit into
masterfrom
fix/multi-json-shim-guard
Sep 26, 2026
Merged

apotonick merged 1 commit into
masterfrom
fix/multi-json-shim-guard

Conversation

@seuros

@seuros seuros commented Sep 25, 2026

Copy link
Copy Markdown
Member

multi_json 1.21.0+ keeps MultiJson as a deprecated alias, so the const_defined?(:MultiJson) check always activated the shim and routed every to_json/from_json through the deprecated MultiJson.dump/load.

multi_json 1.21.0+ keeps MultiJson as a deprecated alias, so the
const_defined?(:MultiJson) check always activated the shim and routed
every to_json/from_json through the deprecated MultiJson.dump/load.
@apotonick
apotonick merged commit 08cd964 into master Sep 26, 2026
22 checks passed
@apotonick
apotonick deleted the fix/multi-json-shim-guard branch September 26, 2026 13:52
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