wp-graphql-smart-cache icon indicating copy to clipboard operation
wp-graphql-smart-cache copied to clipboard

I would like to be able to modify the Document (the query string) and save it

Open jasonbahl opened this issue 4 years ago • 0 comments

As I WPGraphQL user, I would like to be able to modify the Document (the query string) and save it.

Acceptance Criteria

  • save button exists
  • save button successfully saves the document
  • newly saved document should show in list of saved documents
  • handles errors for invalid input, both client & server

Technical Details

  • Should be registered from within wp-graphql-smart-cache.
  • Relies on pluggable APIs and public state to complete.
  • One idea is making use of a notification/toast to display errors

Possible solution might look like:

Image

jasonbahl avatar Jan 11 '22 21:01 jasonbahl