diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-17 12:09:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-17 12:09:23 +0300 |
commit | 6fa3630aad333511c687b385c2333e98e09595b4 (patch) | |
tree | 137531fbfbf7b47316b90931ec858e82128d698d /doc/development/api_graphql_styleguide.md | |
parent | d49d44c81043c2830ef80df5fa3f1eee77a13f52 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/api_graphql_styleguide.md')
-rw-r--r-- | doc/development/api_graphql_styleguide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/api_graphql_styleguide.md b/doc/development/api_graphql_styleguide.md index 231b3bcfd88..0e81a332d6c 100644 --- a/doc/development/api_graphql_styleguide.md +++ b/doc/development/api_graphql_styleguide.md @@ -397,7 +397,7 @@ field :foo, GraphQL::STRING_TYPE, 'if `my_feature_flag` feature flag is disabled' def foo - object.foo unless Feature.enabled?(:my_feature_flag, object) + object.foo if Feature.enabled?(:my_feature_flag, object) end ``` |