Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Making ContextVariables into a proper Dictionary. #2852

Merged
merged 9 commits into from Sep 20, 2023

Conversation

shawncal
Copy link
Member

Description

Simplifying ContextVariables by making it into an actual Dictionary<string, string> instead of a reimplemenation.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
  • All unit tests pass, and I have added new tests where possible
  • I didn't break anyone 😄
    • BREAKING CHANGE - use normal Dictionary methods instead. Behavior change: retrieving missing values via indexer [key] will throw if argument is missing, instead of returning string.Empty.

@shawncal shawncal requested a review from a team as a code owner September 16, 2023 03:00
@shawncal shawncal added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel kernel.core labels Sep 16, 2023
@github-actions github-actions bot changed the title Making ContextVariables into a proper Dictionary. .Net: Making ContextVariables into a proper Dictionary. Sep 16, 2023
@shawncal shawncal added the PR: breaking change Pull requests that introduce breaking changes label Sep 18, 2023
@shawncal shawncal added the PR: ready for review All feedback addressed, ready for reviews label Sep 18, 2023
@shawncal shawncal added this pull request to the merge queue Sep 20, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 20, 2023
@shawncal shawncal added this pull request to the merge queue Sep 20, 2023
Merged via the queue into microsoft:main with commit e221256 Sep 20, 2023
18 checks passed
@shawncal shawncal deleted the context-vars-dictionary-sep15 branch September 20, 2023 22:06
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
### Description
Simplifying ContextVariables by making it into an actual
Dictionary<string, string> instead of a reimplemenation.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
- BREAKING CHANGE - use normal Dictionary methods instead. Behavior
change: retrieving missing values via indexer [key] will throw if
argument is missing, instead of returning string.Empty.

---------

Co-authored-by: Roger Barreto <19890735+RogerBarreto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code PR: breaking change Pull requests that introduce breaking changes PR: ready for review All feedback addressed, ready for reviews
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants