When a request is made to https://github.com/airbnb/hypernova the `to_json` method is used: https://github.com/airbnb/hypernova-ruby/blob/ce2497003566bf2837a30ee6bffac700538ffbdc/lib/hypernova/faraday_request.rb#L8 but when the service does not respond, the data is serialized with `JSON.generate` https://github.com/airbnb/hypernova-ruby/blob/ce2497003566bf2837a30ee6bffac700538ffbdc/lib/hypernova/blank_renderer.rb#L24 Theoretically this should produce an identical result, but we have seen that this does not. Could the latter instance be updated to use `to_json` as well?
When a request is made to https://github.com/airbnb/hypernova the
to_jsonmethod is used:hypernova-ruby/lib/hypernova/faraday_request.rb
Line 8 in ce24970
but when the service does not respond, the data is serialized with
JSON.generatehypernova-ruby/lib/hypernova/blank_renderer.rb
Line 24 in ce24970
Theoretically this should produce an identical result, but we have seen that this does not.
Could the latter instance be updated to use
to_jsonas well?