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 weird but necessary edge case in serializable_opts monkey-patch #10675

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

gregorbg
Copy link
Member

Follow-up to #10575 to cover an edge-case where nested options are passed down as hash instead of array.

As noted in that other PR, it is a horrible, horrible idea to squeeze-merge two different ORM models together, and it's an even worse idea to pass around serialization options from one to the other. But our APIs have grown to expect this behavior, so we cannot remove this serialization nightmare without breaking API contracts.

I don't expect anybody to review or even understand this patch, I really just need to see whether the CI passes.

@gregorbg gregorbg force-pushed the fixup/merge-serialization-opts branch from ef57a10 to 347d86c Compare January 21, 2025 13:24
@gregorbg
Copy link
Member Author

Nevermind, found a simpler solution. Still don't think I need a review as long as CI says OK

@gregorbg gregorbg force-pushed the fixup/merge-serialization-opts branch from 347d86c to e2b25b2 Compare January 21, 2025 13:32
@gregorbg gregorbg force-pushed the fixup/merge-serialization-opts branch from e2b25b2 to 8940316 Compare January 21, 2025 13:41
@gregorbg gregorbg merged commit d0f17dc into thewca:main Jan 22, 2025
2 checks passed
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