Commit 729be0fd authored by Nathan Friend's avatar Nathan Friend

Reverse condition in GraphQL feature flag docs

parent 81fdc3f0
...@@ -397,7 +397,7 @@ field :foo, GraphQL::STRING_TYPE, ...@@ -397,7 +397,7 @@ field :foo, GraphQL::STRING_TYPE,
'if `my_feature_flag` feature flag is disabled' 'if `my_feature_flag` feature flag is disabled'
def foo def foo
object.foo unless Feature.enabled?(:my_feature_flag, object) object.foo if Feature.enabled?(:my_feature_flag, object)
end end
``` ```
......
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