Skip to content

Commit 07578e6

Browse files
authored
chore: deprecate no longer supported projectId and environment config settings (#240)
1 parent 26e5fc2 commit 07578e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Unleash/UnleashSettings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public class UnleashSettings
4343
/// <summary>
4444
/// Gets or sets an environment. Used for communication with backend api.
4545
/// </summary>
46+
[Obsolete("No longer supported in recent versions of Unleash, scope API token accordingly instead. Will be removed in the next major version", false)]
4647
public string Environment { get; set; } = "default";
4748

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

5860
/// <summary>

0 commit comments

Comments
 (0)