Skip to content

Commit

Permalink
LSP Protocol: Fix another serialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutch committed Aug 17, 2024
1 parent 1b59c82 commit e83696f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class DidChangeWatchedFilesRegistrationOptions : DynamicRegistrationSet
/// The watchers to register.
/// </summary>
/// <remarks>Since LSP 3.17</remarks>
[JsonPropertyName("relativePatternSupport")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("watchers")]
[JsonRequired]
public FileSystemWatcher[] Watchers { get; init; }
}

0 comments on commit e83696f

Please sign in to comment.