Skip to content

Not everything should be FormData #3

Description

@knownasilya

The issue is that certain fields don't need to be FormData, only the attributes with the file transform.

I'm seeing issues with certain libraries that expect arrays to come over as arrays, and not comma separated strings. This happens with hasManys when you POST an attribute as an array.

Seems like there should be a type check here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions