Load less data when changing todo state
We don't need to know about all of the todo, just the id and the state is enough. This should remove some DB queries and make it slightly faster.
显示
- app/assets/javascripts/todos/components/mutations/mark_as_done.mutation.graphql 2 个添加, 3 个删除.../todos/components/mutations/mark_as_done.mutation.graphql
- app/assets/javascripts/todos/components/mutations/mark_as_pending.mutation.graphql 2 个添加, 3 个删除...dos/components/mutations/mark_as_pending.mutation.graphql
加载中
想要评论请 注册 或 登录