Commit 8337c8bb authored by Brian Williams's avatar Brian Williams Committed by Ethan Urie

Add deprecation notice to NetworkPolicyConnection

Changelog: deprecated
EE: true
parent b1088a03
......@@ -14416,6 +14416,10 @@ four standard [pagination arguments](#connection-pagination-arguments):
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).
This field returns a [connection](#connections). It accepts the
......@@ -199,6 +199,7 @@ module EE
field :network_policies,
::Types::NetworkPolicyType.connection_type,
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',
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