incubator-seata-go
incubator-seata-go copied to clipboard
go spel 的实现方案调研
What would you like to be added:
Why is this needed:
RoBot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: go spel implementation plan research
1、待确认 go 是否有现成的方案,如果没有再讨论,是否定义一套和语言无关的工具,或是go实现spel;可以考虑 govaluate。亦夏这周三7.19日给一个几轮
RoBot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
- It is to be confirmed whether go has a ready-made solution. If there is no further discussion, whether to define a set of language-independent tools, or to implement spel in go; go-
saga expression模块期望使用一套语言无关的,通用标准、能力丰富、简单易用、社区活跃的表达式引擎,目前依赖spel是一个不恰当的做法,后续会替换到cel表达式引擎(会存在部分不兼容,但是从用户使用上,我们考虑是支持多种表达式引擎,并且考虑在未来提供spel切换到cel的能力)。
https://transaction.yuque.com/staff-ccyx0m/mmwdyy/zhpg6s12ed20sxp4
RoBot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The saga expression module expects to use a set of expression engines that are language-independent, universally standard, rich in capabilities, easy to use, and have an active community. Currently, relying on spel is an inappropriate approach and will be replaced by the cel expression engine in the future (there will be some It is not compatible, but from the perspective of user use, we consider supporting multiple expression engines and considering providing the ability to switch from spel to cel in the future).
https://transaction.yuque.com/staff-ccyx0m/mmwdyy/zhpg6s12ed20sxp4