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 the rails 7.1+ serialize interface #224

Merged

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented Nov 1, 2024

Type was changed from positional to a keyword argument 'type' in 7.1. The positional argument is removed in rails 7.2.

We have a helper bridge module prepending support for either kwargs or positional arguments passed to serialize which converts to positional for rails 7.0 and kwargs for 7.1+. This was added and automatically loaded in the rails app via the engine in schema:
ManageIQ/manageiq-schema#756

Similar change as core: ManageIQ/manageiq#23253

Type was changed from positional to a keyword argument 'type' in 7.1.
The positional argument is removed in rails 7.2.

We have a helper bridge module prepending support for either kwargs
or positional arguments passed to serialize which converts to positional
for rails 7.0 and kwargs for 7.1+.  This was added and automatically
loaded in the rails app via the engine in schema:
ManageIQ/manageiq-schema#756

Similar change as core: ManageIQ/manageiq#23253
@kbrock kbrock merged commit 94de9b7 into ManageIQ:master Nov 19, 2024
4 checks passed
@jrafanie jrafanie deleted the serialize-with-kwargs-like-71-wants branch November 19, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants