Skip to content

Breaking Change in build_request? #119

Closed
@DanielWright

Description

@DanielWright

Issue Summary

Prior to #95 being merged, we had code like the following that worked:

sendgrid.patch(request_body: an_array)

This worked because an_array would, along the way to Net::HTTP, be encoded to JSON. #95 changed this behavior, as now only hashes are automatically JSON-encoded.

Was this change in behavior intentional, or was our usage unexpected?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions