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

chore: fix incubating code sample #60

Merged
merged 2 commits into from
May 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Momento/Incubating/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
The `MomentoSdk.Incubating` namespace has work-in-progress features that may or may be be in the final version.

# Dictionary Methods

This demonstrates the methods and response types for a dictionary data type in the cache:
```
```csharp
using System.Collections.Generic;
using MomentoSdk.Responses;
using MomentoSdk.Incubating.Responses;
Expand Down Expand Up @@ -32,7 +31,7 @@ class Driver
CacheGetStatus status = gr.Status;
string value = gr.String();

// Get the whole thing
// Get the whole dictionary
Copy link
Member

Choose a reason for hiding this comment

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

lol

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The repo rejects PRs with only one commit !

CacheDictionaryGetAllResponse gar = scc.DictionaryGetAll(cacheName: "my-cache", dictionaryName: "my-dictionary");
status = gar.Status;
dictionary = gar.Dictionary();
Expand Down