diff options
author | Michael Davis | 2022-07-04 14:30:36 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-07-05 10:34:03 +0000 |
commit | 44f596334aeda7c540fbe12d2653c86dae686470 (patch) | |
tree | dd094f3941d2aebb2a86f0b741c98193e9223c6a /runtime/queries/svelte/indents.scm | |
parent | 936ed3a226a5b94c470f5b40ad7df1b0a3ae4793 (diff) |
DAP: Skip serializing `Option`s when `None`
DAP follows the same strict TypeScript interface syntax as LSP
which states:
> The document uses TypeScript interfaces in strict mode to describe
> these. This means for example that a `null` value has to be explicitly
> listed and that a mandatory property must be listed even if a falsify
> value might exist.
So we have to skip serializing any fields that end in `?` instead
of passing `null`.
Diffstat (limited to 'runtime/queries/svelte/indents.scm')
0 files changed, 0 insertions, 0 deletions