Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

using System.Diagnostics.CodeAnalysis;

#pragma warning disable IDE0130 // Namespace does not match folder structure
// ReSharper disable once CheckNamespace
namespace HotChocolate.Types;
Expand All @@ -14,11 +11,11 @@ public interface IDeprecationProvider : ITypeSystemMember
/// <summary>
/// Defines if this <see cref="ITypeSystemMember"/> is deprecated.
/// </summary>
[MemberNotNullWhen(false, nameof(DeprecationReason))]
bool IsDeprecated { get; }

/// <summary>
/// Gets the deprecation reason of this <see cref="ITypeSystemMember"/>.
/// Gets the deprecation reason of this <see cref="ITypeSystemMember"/>,
/// or <c>null</c> if no reason was provided.
/// </summary>
string? DeprecationReason { get; }
}
Loading