Rule engine as a separate NuGet package

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
csharp
領域
backend

調査の方向性

まず Flagsmith Client NuGet パッケージ内の既存のルール評価ロジックを見つけ、ネットワーキング、ポーリング、Polly、イベント処理にどのように依存しているかを確認します。コードを変更する前に、独立した依存関係のない Engine パッケージの境界を定義します。Engine が呼び出し元から提供されたデータでルールを評価でき、完全なクライアントとは別に公開できれば完了です。

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

説明

Requesting a standalone Flagsmith Engine NuGet package, separate from the Flagsmith Client NuGet, for flexible rule evaluation without the full SDK.

Why:

I need a lightweight rule engine for custom use cases, bypassing the client’s networking and polling features.

Benefits:

Lean Engine: Minimal package for evaluating rules with my own data, reducing overhead.
Custom Polling: Freedom to implement my own polling strategy or data source.
Event Notification: Tailored event handling to fit my app’s architecture.
Less Dependencies: Avoids unnecessary dependencies like Polly, simplifying integration and minimizing version conflicts.
Metadata Enrichments: Single location to extend features with additional metadata such as tags.

Proposal:

A dependency-free package with rule evaluation logic, no networking, and optional event hooks, which should be considerably easy to implement by extracting the existing rule evaluation logic into a standalone library.

Conclusion:

This would enhance flexibility and support advanced scenarios where the full client isn’t needed. Thoughts?

主要言語
C#
スター
20
フォーク
17
平均マージ
21時間 47分
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Flagsmith/flagsmith-dotnet-client のほかの issue

Flagsmith/flagsmith-dotnet-client の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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