bilibili / bilibili/gengine

求支持自定义函数

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
281
PR merge metrics
No merged PRs in 30d

Description

背景:我们的项目中用流程画图的方式在写业务逻辑,把逻辑落地成gengine的 rule运行
问题:某些业务场景较为复杂,生成的规则代码超过几万行、里面大量的重复代码(例如一个流程图很多节点都会汇聚到一个最终处理结果的节点,做一些计算工作然后返回给上层业务,造成了很多重复代码)
需求:希望gengine可以支持在rule里面可以自定义函数。

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the rule parser and execution path, then inspect how rule functions are currently represented. Done should mean rules can define reusable custom functions and invoke them without repeating the same generated logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.