Commit 9b3da77e authored by Alex Kalderimis's avatar Alex Kalderimis

Externalize documentation reference to :see option

parent d817d610
...@@ -23,10 +23,13 @@ module Mutations ...@@ -23,10 +23,13 @@ module Mutations
argument :color, GraphQL::STRING_TYPE, argument :color, GraphQL::STRING_TYPE,
required: false, required: false,
default_value: Label::DEFAULT_COLOR, default_value: Label::DEFAULT_COLOR,
see: {
'List of color keywords at mozilla.org' =>
'https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords'
},
description: <<~DESC description: <<~DESC
The color of the label given in 6-digit hex notation with leading '#' sign The color of the label given in 6-digit hex notation with leading '#' sign
(for example, `#FFAABB`) or one of the CSS color names (for example, `#FFAABB`) or one of the CSS color names.
<https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords>.
DESC DESC
authorize :admin_label authorize :admin_label
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment