Skip to content

Commit

Permalink
chore: deprecate no longer supported projectId and environment config…
Browse files Browse the repository at this point in the history
… settings
  • Loading branch information
daveleek committed Sep 17, 2024
1 parent 26e5fc2 commit cd962f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Unleash/UnleashSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public class UnleashSettings
/// <summary>
/// Gets or sets an environment. Used for communication with backend api.
/// </summary>
[Obsolete("No longer supported in recent versions of Unleash, scope API token accordingly instead. Will be removed in the next major version", false)]
public string Environment { get; set; } = "default";

/// <summary>
Expand All @@ -53,6 +54,7 @@ public class UnleashSettings
/// <summary>
/// Sets the project to fetch feature toggles for.
/// </summary>
[Obsolete("No longer supported in recent versions of Unleash, scope API token accordingly instead. Will be removed in the next major version", false)]
public string ProjectId { get; set; } = null;

/// <summary>
Expand Down

0 comments on commit cd962f5

Please sign in to comment.