WebDevStudios / wds-headless-wordpress

This codebase has been moved to a monorepo. Please see the documentation to learn more. 🍻
https://github.com/WebDevStudios/nextjs-wordpress-starter
GNU General Public License v2.0
32 stars 15 forks source link

Feature/380 gf upload support #28

Closed ravewebdev closed 3 years ago

ravewebdev commented 3 years ago

References https://github.com/WebDevStudios/nextjs-wordpress-starter/pull/450

Description

Adds WP GraphQL Upload plugin. Updates WP GraphQL Gravity Forms fieldValuesInput to include fileUploadValues using new Upload scalar type. Adds function to handle a custom file upload, saving uploaded file to custom directory (GF form upload dir). Extends WP GraphQL GF form submission resolver to use custom file upload function and save file upload data to form.

Note: once merged, WP GraphQL Upload plugin will need to be activated.

Screenshots

Screen Shot 2021-05-20 at 10 57 28 AM

Steps To Verify Feature

Follow instructions on https://github.com/WebDevStudios/nextjs-wordpress-starter/pull/450

justlevine commented 3 years ago

@ravewebdev you mind if I use some of this in WPGraphQL for Gravity Forms?

ravewebdev commented 3 years ago

@ravewebdev you mind if I use some of this in WPGraphQL for Gravity Forms?

@justlevine not at all, please go ahead!