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

[dotnet] Added AEL simple object memory interface #5540

Merged
merged 6 commits into from
Mar 12, 2021
Merged

Conversation

jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Mar 12, 2021

Related Issue

Fixed #5518

Description

Expansion of the template is done in the context of serialized json payload,
However, the memory that bounds to the template are in deserialized form.
In the previous implementation, we serialized the expanded string returned from AEL. This can lead to double serialization as observed in #5518. Only data that is bound to the template is serialized, and the template portion is left untouched in the new implementation.

How Verified

  1. A new unit test is added.
  2. Unit tests are run & verified.
Microsoft Reviewers: Open in CodeFlow

@jwoo-msft jwoo-msft enabled auto-merge (squash) March 12, 2021 02:34
private SimpleObjectMemory simpleObjectMemory;
/// <summary>
/// Simple implementation of AEL.Memory.IMemory
/// It serves as an entry points to additional customazation and optimazation
Copy link
Member

Choose a reason for hiding this comment

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

minor nit

Suggested change
/// It serves as an entry points to additional customazation and optimazation
/// It serves as an entry points to additional customization and optimization

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, Paul. PR got auto merged. I will make this change.

@jwoo-msft jwoo-msft merged commit f05b839 into main Mar 12, 2021
@jwoo-msft jwoo-msft deleted the jwoo/dotnet-template branch March 12, 2021 18:11
jwoo-msft added a commit that referenced this pull request Apr 8, 2021
* Fixed issue #4164

* [dotnet] Added Simple Memory Interface

* fixed the typo for comments
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.

[.Net] [Unicode literals are escaped in if statements]
2 participants