Commit 574514aa authored by Ethan Urie's avatar Ethan Urie

Merge branch 'bwill/deprecate-container-network-security-graphql-apis' into 'master'

Add deprecation notice to NetworkPolicyConnection

See merge request gitlab-org/gitlab!82441
parents c6e1fec3 8337c8bb
...@@ -14416,6 +14416,10 @@ four standard [pagination arguments](#connection-pagination-arguments): ...@@ -14416,6 +14416,10 @@ four standard [pagination arguments](#connection-pagination-arguments):
Network Policies of the project. Network Policies of the project.
WARNING:
**Deprecated** in 14.8.
Network policies are deprecated and will be removed in GitLab 15.0.
Returns [`NetworkPolicyConnection`](#networkpolicyconnection). Returns [`NetworkPolicyConnection`](#networkpolicyconnection).
This field returns a [connection](#connections). It accepts the This field returns a [connection](#connections). It accepts the
...@@ -199,6 +199,7 @@ module EE ...@@ -199,6 +199,7 @@ module EE
field :network_policies, field :network_policies,
::Types::NetworkPolicyType.connection_type, ::Types::NetworkPolicyType.connection_type,
null: true, null: true,
deprecated: { reason: 'Network policies are deprecated and will be removed in GitLab 15.0', milestone: '14.8' },
description: 'Network Policies of the project', description: 'Network Policies of the project',
resolver: ::Resolvers::NetworkPolicyResolver resolver: ::Resolvers::NetworkPolicyResolver
......
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