Skip to content

.NET: Fix typo: sesionElement -> sessionElement - #5674

Merged
Jacob Alber (lokitoth) merged 2 commits into
microsoft:mainfrom
XiongHaoTrigger:main
May 7, 2026
Merged

.NET: Fix typo: sesionElement -> sessionElement#5674
Jacob Alber (lokitoth) merged 2 commits into
microsoft:mainfrom
XiongHaoTrigger:main

Conversation

@XiongHaoTrigger

Copy link
Copy Markdown
Contributor

Motivation and Context

While studying the example of this framework, I discovered an error in the variable naming.

Description

Corrected the spelling error sesionElementsessionElement in agent-framework/dotnet/samples/01-get-started/04_memory/Program.cs. This is a non-functional change that only fixes the variable name.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • [ ] Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

CopilotAI review requested due to automatic review settings May 6, 2026 12:05
@moonbox3Evan Mattson (moonbox3) added the .NET Usage: [Issues, PRs], Target: .Net label May 6, 2026
@github-actionsgithub-actionsBot changed the title Fix typo: sesionElement -> sessionElement.NET: Fix typo: sesionElement -> sessionElementMay 6, 2026

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request corrects a spelling typo in the .NET “memory” getting-started sample by renaming sesionElement to sessionElement, improving readability without changing runtime behavior.

Changes:

  • Renamed the local JsonElement variable holding serialized session state from sesionElement to sessionElement.
  • Updated the corresponding deserialization call to use the corrected variable name.

@lokitoth
Jacob Alber (lokitoth) added this pull request to the merge queueMay 7, 2026
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks May 7, 2026
@lokitoth
Jacob Alber (lokitoth) added this pull request to the merge queueMay 7, 2026
Merged via the queue into microsoft:main with commit 3c1e2c4May 7, 2026
24 checks passed
@github-project-automationgithub-project-automationBot moved this from Community PR to Done in Agent FrameworkMay 7, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NETUsage: [Issues, PRs], Target: .Net

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants

@XiongHaoTrigger@lokitoth@SergeyMenshykh@moonbox3