-
Notifications
You must be signed in to change notification settings - Fork 618
Rename new trigger filters sql field to cesql #6148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
487f688
ffb29af
d8692ee
9119e20
208e9fe
f022bec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -169,10 +169,10 @@ type SubscriptionsAPIFilter struct { | |
| // +optional | ||
| Suffix map[string]string `json:"suffix,omitempty"` | ||
|
|
||
| // SQL is a CloudEvents SQL expression that will be evaluated to true or false against each CloudEvent. | ||
| // CESQL is a CloudEvents SQL expression that will be evaluated to true or false against each CloudEvent. | ||
| // | ||
| // +optional | ||
| SQL string `json:"sql,omitempty"` | ||
| CESQL string `json:"cesql,omitempty"` | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This feels like a really confusing rename. Why not change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The feedback we've had so far is related to the strong database related connotation that comes with
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with @devguyio - renaming to CESQL will help to avoid lot of user confusion and may help with google search in future ...
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I also think it's beneficial to change the name |
||
| } | ||
|
|
||
| // TriggerFilterAttributes is a map of context attribute names to values for | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this proposal, and since we touch an alpha stage experimental feature, this seems right to do.
Makes it more explicit, rather than just a generic
sqlfield on the API 👍