microsoft / microsoft/RulesEngine

Compiling rules into JS - is it supported/planned?

Open
#579 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
616
Avg merge
6m
Merged PRs (30d)
2

Description

Hello, out of curiosity:
Is it possible/planned to compile the rules evaluator into JS? An example scenario would be to have the same configurable validation both client-side and server-side. I didn't explore the idea too deeply and don't know the RulesEngine itself as well but considering that it's based on ExpressionTrees, some basic scenarios support should be possible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reading the RulesEngine expression evaluator and project documentation to determine whether JavaScript compilation is supported or planned; a complete issue would need a defined scope and acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, javascript
Domain
backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.