add mutations to questions and reviews
This commit is contained in:
8
app/graphql/inputs/question_alternative_input.rb
Normal file
8
app/graphql/inputs/question_alternative_input.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Inputs
|
||||
class QuestionAlternativeInput < Types::BaseInputObject
|
||||
argument :correct, Boolean, required: false
|
||||
argument :text, String, required: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user