Rule Engine

オープン
#585 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
backend

調査の方向性

rule-engine の式パーサーと、issue にある ValidateAlert の例から始めてください。提示された式を使って「Enum type 'DynamicAuthorizationKey' not found」エラーを再現し、その後、右辺の動的な値がサポートされているかどうかを確認してください。サポートされる構文が確認されるか、このケースに対応するパーサーまたはドキュメントの限定的な変更が行われれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I have created a rule in the rule engine in the azure blob storage that is Validatealert and this rule defines the expression which contains the left and right-side dynamic value but somehow, the right-side value creates an issue. So, are we supporting right side dynamic value or not? For example-

{
'RuleName': 'ValidateAlert',
'Expression':(account.AuthorizationKey.ToString()==(account.AuthorizationKey.ToString()==commonEvent.DynamicAuthorizationKey.ToString()),
'ErrorMessage': 'Failed : Dynamic alert is invalid.'
}

I'm getting the parser issue that is 'Exception while parsing expression Enum type 'DynamicAuthorizationKey' not found'.
I tried with multiple permutation and combination to resolve that issue but just want to verify whether microsoft is supporting or not right side dynamic value in the rule engine definition.

Kindly have a look into this issue, and please suggest to me an appropriate solution.

主要言語
C#
スター
4.4k
フォーク
616
平均マージ
6分
マージ済み PR(30日)
2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/RulesEngine のほかの issue

microsoft/RulesEngine の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。