Skip to content

refactor(rpc): update only converted diagnostic fields - #17170

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-psrxvukkkmwl
Nov 22, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-psrxvukkkmwl

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Use record updates when converting V1 diagnostics, replacing only the message and related diagnostics. The remaining fields and wire encoding are unchanged.

Preserve common fields through record updates when converting the message and related diagnostics.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit 80a5519 into ocaml:main Nov 22, 2026
36 of 37 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants