Replies: 4 comments 2 replies
-
Also apologies if this should have been an Issue instead - it did not feel like a bug or big enough to warrant a feature request. |
Beta Was this translation helpful? Give feedback.
-
@plagupta can you help me understand what you're trying to accomplish with these methods? From a CEL perspective, these are internal implementation details which were improperly exposed early in development and which have proven to be problematic to upgrade. If you can point me toward your repo, perhaps, I can suggest an alternative approach? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the swift response, @TristonianJones! Unfortunately I'm unable to share the repo as it is private and belongs to my employer. But at a high level, we are using CEL to implement a DSL to define anti-fraud rules that we can apply to incoming traffic. The DSL is based on certain protobuf message/enum definitions that we have. For example, if we have the following: enum Action {
ACTION_ONE = 0;
ACTION_TWO = 1;
ACTION_THREE = 2;
}
enum Decision {
DECISION_ALLOW = 0;
DECISION_BLOCK = 1;
}
message Features {
int64 id = 1;
Action action = 2;
string request_id = 3;
string session_id = 4;
bool is_bot = 5;
} then a DSL rule may look something like:
We use |
Beta Was this translation helpful? Give feedback.
-
@TristonianJones can you please suggest an alternative for https://github.com/kubeflow/pipelines/blob/1b107eb4bb2510ecb99fd5f4fb438cbf7c96a87a/backend/src/v2/expression/expression.go#L193? |
Beta Was this translation helpful? Give feedback.
-
Hi there!
I noticed that these were privatized in #592 but it's not clear why. We've been on
v0.12.5
for a while and have a couple of places where we've been usingNewFieldDescription
andNewTypeDescription
. Now that we are trying to upgrade, we've found it difficult to substitute our usage of these functions using the still-exposed functions available to us. Would y'all be willing to consider reverting this small change? This would be the diff, in case that's helpful:Thank you for your consideration!
Beta Was this translation helpful? Give feedback.
All reactions