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

Add support for as_json to avoid the default Rails implementation. #53

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Apr 16, 2024

The default Rails implementation will try to convert all instance variables as_json which is inappropriate in some cases and can cause Stack level too deep (SystemStackError).

Fixes socketry/async-http#156.

Types of Changes

  • Bug fix.

Contribution

The default Rails implementation will try to convert all instance
variables `as_json` which is inappropriate in some cases and can cause
`Stack level too deep (SystemStackError)`.

Fixes <socketry/async-http#156>.
@ioquatix ioquatix merged commit 6de0e56 into main Apr 16, 2024
34 of 44 checks passed
@ioquatix ioquatix deleted the as_json branch April 16, 2024 02:42
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.

Stack level too deep (SystemStackError) then raise exception in Sync. Then try to show warn in console
1 participant