Skip to content

File Uploads Broken in 2.0 #3323

@jhochgrevetsd

Description

@jhochgrevetsd

Description

We use the gravity forms extensions, and for file upload fields it requires the "upload" extension. It sounds like there may be some collaboration needed. Here is the issue from that repo:

dre1080/wp-graphql-upload#17

Steps to reproduce

  • Create a gravity form api submission mutation (we use NEXTJS)
  • Be sure to include a file upload
  • Include WPGraphQL Gravity Form Extension
  • Include WPGraphQL Uploads Extension
  • Submit Form with upload

Additional context

Errors seem to be coming from the header type. In my particular case it seems to only accept application/json but for the file uploads we had been using the multipart/form-data. This functionality seems to no longer work. Thus resulting in a breaking change preventing us from updating to version 2.0

WPGraphQL Version

2.0

WordPress Version

6.7.2

PHP Version

8.2

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions