Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcwatt committed Oct 24, 2024
1 parent 783f3c6 commit 8e7cdc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/graphql/schema/validator/required_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class Validator
# end
#
class RequiredValidator < Validator
# @param one_of [Symbol, Array<Symbol>] An argument, or a list of arguments, that represents a valid set of inputs for this field
# @param one_of [Array<Symbol>] A list of arguments, exactly one of which is required for this field
# @param argument [Symbol] An argument that is required for this field
# @param message [String]
def initialize(one_of: nil, argument: nil, message: nil, **default_options)
@one_of = if one_of
Expand Down

0 comments on commit 8e7cdc3

Please sign in to comment.