Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 2, 2020 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/746af69881225144095e6aeff7617f19 to your computer and use it in GitHub Desktop.
Save velotiotech/746af69881225144095e6aeff7617f19 to your computer and use it in GitHub Desktop.
field :update_post, type: :blog_post do
arg(:id, non_null(:id))
arg(:post, :update_post_params)
resolve(&Graphql.Blog.PostResolver.update/2)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment