Skip to content

Update NativeAOT doc#1424

Merged
AArnott merged 1 commit into
mainfrom
dev/andarno/doc-update
May 4, 2026
Merged

Update NativeAOT doc#1424
AArnott merged 1 commit into
mainfrom
dev/andarno/doc-update

Conversation

@AArnott
Copy link
Copy Markdown
Member

@AArnott AArnott commented May 4, 2026

In particular, RPC marshalable objects should be documented as supported so long as the NerdbankMessagePackFormatter is used.

In particular, RPC marshalable objects should be documented as supported so long as the `NerdbankMessagePackFormatter` is used.
Copilot AI review requested due to automatic review settings May 4, 2026 13:02
@AArnott AArnott added the docs label May 4, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the NativeAOT guidance to clarify formatter recommendations, especially around RPC marshalable object support. It fits into the docfx documentation set by refining the NativeAOT/trimming guidance for consumers of StreamJsonRpc.

Changes:

  • Updates the NativeAOT formatter guidance to call out NerdbankMessagePackFormatter as the preferred/safest option.
  • Replaces the blanket “avoid RPC marshalable objects” guidance with formatter-specific guidance.
  • Clarifies that SystemTextJsonFormatter marshalable-object support is not NativeAOT-safe.

Comment thread docfx/docs/nativeAOT.md
Comment thread docfx/docs/nativeAOT.md
@AArnott AArnott enabled auto-merge May 4, 2026 13:33
@AArnott AArnott merged commit b02393f into main May 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants