Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<SuppressTfmSupportBuildErrors>true</SuppressTfmSupportBuildErrors>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);CS1591;NRS002</NoWarn>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<IsWindows>$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::get_Windows())))</IsWindows>
</PropertyGroup>

Expand Down
11 changes: 8 additions & 3 deletions src/NRedisStack/Experiments.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
namespace NRedisStack
{
// [Experimental(Experiments.SomeFeature, UrlFormat = Experiments.UrlFormat)]
// where SomeFeature has the next label, for example "NRS042", and /docs/exp/NRS042.md exists
// where SomeFeature has the next label, for example "NRS042", and /docs/exp/NRS042.md exists.
//
// Retired diagnostic ids (features graduated out of [Experimental]; the /docs/exp/ entries are kept
// for history). Do not reuse these ids:
// NRS001 - Redis 8.4 hybrid search
// NRS002 - Redis 8.8 multi-aggregate time-series
internal static class Experiments
{
public const string Server_8_8 = "NRS002";
public const string UrlFormat = "https://redis.github.io/NRedisStack/exp/";
// {0} is substituted with the diagnostic id, e.g. NRS042 -> https://redis.github.io/NRedisStack/exp/NRS042
public const string UrlFormat = "https://redis.github.io/NRedisStack/exp/{0}";
}
}

Expand Down
Loading
Loading