We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When your app requires ActiveSupport and you have a resource with circular references.
ActiveSupport
As ActiveSupport patches HTTP::Client to call ActiveSupport#to_json on #post and #put.
HTTP::Client
ActiveSupport#to_json
#post
#put
This causes a never-ending loop that will halt any other operations. This affects specifically Entry#save in the case of circular references.
Entry#save
Fix required is very simple:
module Contentful module Management class Entry alias_method :to_json, :fields_for_query end end end
The text was updated successfully, but these errors were encountered:
dlitvakb
No branches or pull requests
When your app requires
ActiveSupport
and you have a resource with circular references.As
ActiveSupport
patchesHTTP::Client
to callActiveSupport#to_json
on#post
and#put
.This causes a never-ending loop that will halt any other operations. This affects specifically
Entry#save
in the case of circular references.Fix required is very simple:
The text was updated successfully, but these errors were encountered: