Skip to content

docs(csharp): document the per-operation serializer override (Step/Callback/Invoke/WaitForCondition/ChildContext + Map/Parallel ItemSerializer) - #279

Draft
GarrettBeatty wants to merge 2 commits into
aws:mainfrom
GarrettBeatty:per-operation-serializer-docs
Draft

docs(csharp): document the per-operation serializer override (Step/Callback/Invoke/WaitForCondition/ChildContext + Map/Parallel ItemSerializer)#279
GarrettBeatty wants to merge 2 commits into
aws:mainfrom
GarrettBeatty:per-operation-serializer-docs

Conversation

@GarrettBeatty

Copy link
Copy Markdown
Contributor

Summary

Documents the .NET per-operation serializer override on the C# tabs of the serialization reference. Companion to aws/aws-lambda-dotnet#2555.

  • serialization.md — C# tabs now cover the per-operation Serializer on StepConfig/CallbackConfig (and note it reuses ILambdaSerializer, so no new SerDes interface), and the ItemSerializer on MapConfig/ParallelConfig for per-item/branch results (the aggregate batch envelope is SDK-internal, so there is no whole-result serializer).
  • StepConfigExample.cs / CallbackConfigExample.cs / MapConfigExample.cs — updated to demonstrate setting the per-operation serializer.

Notes

Docs-only. Pairs with the SDK feature PR aws/aws-lambda-dotnet#2555.

The .NET SDK now supports an optional per-operation `Serializer` (an ILambdaSerializer)
on StepConfig, CallbackConfig, InvokeConfig, WaitForConditionConfig<TState>, and
ChildContextConfig; when null the globally-registered serializer is used.

Update the C# tabs on the serialization page (Default serialization, SerDes interface,
StepConfig, CallbackConfig) and the StepConfigExample/CallbackConfigExample examples.
Map/Parallel C# tabs left as-is pending two-level (item + whole-result) support.
MapConfig<TItem> and ParallelConfig now expose ItemSerializer for each item/branch result;
the aggregated batch envelope is SDK-internal and not user-serialized (no whole-result
serializer). Update the Map/Parallel C# tab and MapConfigExample.
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.

1 participant