Created
July 2, 2020 09:19
-
-
Save velotiotech/746af69881225144095e6aeff7617f19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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