Deprecate GraphQL `feature_flag` argument
This first iteration of https://gitlab.com/gitlab-org/gitlab/-/issues/369202 documents the `feature_flag` property as being deprecated and that it should not be used. It renames the argument so that it's clear it's not to be used for new items. It also updates the developer docs to include advice for using flags with schema items besides fields, and where the flag is used to toggle behavior.
显示
- app/graphql/types/base_field.rb 2 个添加, 2 个删除app/graphql/types/base_field.rb
- app/graphql/types/group_type.rb 1 个添加, 1 个删除app/graphql/types/group_type.rb
- app/graphql/types/mutation_type.rb 2 个添加, 2 个删除app/graphql/types/mutation_type.rb
- app/graphql/types/namespace_type.rb 1 个添加, 1 个删除app/graphql/types/namespace_type.rb
- app/graphql/types/project_type.rb 1 个添加, 1 个删除app/graphql/types/project_type.rb
- doc/development/api_graphql_styleguide.md 40 个添加, 78 个删除doc/development/api_graphql_styleguide.md
- doc/development/fe_guide/graphql.md 1 个添加, 1 个删除doc/development/fe_guide/graphql.md
- ee/app/graphql/types/boards/epic_list_metadata_type.rb 1 个添加, 1 个删除ee/app/graphql/types/boards/epic_list_metadata_type.rb
- ee/app/graphql/types/geo/geo_node_type.rb 1 个添加, 1 个删除ee/app/graphql/types/geo/geo_node_type.rb
- rubocop/cop/gitlab/mark_used_feature_flags.rb 1 个添加, 1 个删除rubocop/cop/gitlab/mark_used_feature_flags.rb
- spec/graphql/features/feature_flag_spec.rb 1 个添加, 1 个删除spec/graphql/features/feature_flag_spec.rb
- spec/graphql/types/base_field_spec.rb 4 个添加, 4 个删除spec/graphql/types/base_field_spec.rb
- spec/rubocop/cop/gitlab/mark_used_feature_flags_spec.rb 2 个添加, 2 个删除spec/rubocop/cop/gitlab/mark_used_feature_flags_spec.rb
加载中
想要评论请 注册 或 登录