You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port the small .NET message-source attribution helper surface to Go by adding message.Message helpers for reading and applying request message source attribution.
This change adds (*message.Message).SourceType(), (*message.Message).SourceID(), and (*message.Message).WithSource(...), then reuses WithSource in the context-provider, history-provider, and middleware source-stamping paths. It also updates the feature comparison matrix to mark this helper surface as aligned.
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch dotnet-port-api-message-source-helpers-c2b406815d117693.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Summary
Port the small .NET message-source attribution helper surface to Go by adding
message.Messagehelpers for reading and applying request message source attribution.This change adds
(*message.Message).SourceType(),(*message.Message).SourceID(), and(*message.Message).WithSource(...), then reusesWithSourcein the context-provider, history-provider, and middleware source-stamping paths. It also updates the feature comparison matrix to mark this helper surface as aligned.Ported .NET PRs
Relevant upstream commits:
ad0dac3c86201dc7dc1cd4866ba7e4502a910a0d7dccf3a07bc5fd76004b85305f5121712e188b15Breaking Changes
No.
Tests and Examples
go test ./...message/message_test.gocoverage for default source type, explicit source id/type access, and clone-vs-reuse behavior inWithSourceNotes
docs/dotnet-go-sdk-feature-comparison.mdNote
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
dotnet-port-api-message-source-helpers-c2b406815d117693.Click here to create the pull request
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (185 of 185 lines)