-
Notifications
You must be signed in to change notification settings - Fork 35
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
Initial dotnet Reaction SDK #112
Initial dotnet Reaction SDK #112
Conversation
reactions/sdk/dotnet/Drasi.Reaction.SDK/Services/ResultViewClient.cs
Dismissed
Show dismissed
Hide dismissed
_logger = logger; | ||
} | ||
|
||
public async Task HandleChange(ChangeEvent evt, MyQueryConfig? queryConfig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to specify a queryconfig object in order to define the HandleChange
method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the default is System.Object
if you do not specify one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
- Retrieving a configuration value from the Reaction manifest | ||
- Defining a custom per query configuration object | ||
- Parsing the per query configuration object from Yaml | ||
- Process change events form thw query |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
typo
…iu/drasi-platform into review-gremlin-reaction * 'review-gremlin-reaction' of https://github.com/ruokun-niu/drasi-platform: Initial dotnet Reaction SDK (drasi-project#112) Update steps to build locally in contributing docs (drasi-project#108)
Reaction SDK for Drasi
This library provides the building blocks and infrastructure to implement a Drasi Reaction in .NET
Getting started
Install the package
Basic example
The following example simply breaks down and logs the various parts of the incoming change event from a Continuous Query.
A more advanced example
The following example illustrates