Skip to content

Commit

Permalink
change default introspection settings to include meaning for gt(e),lt…
Browse files Browse the repository at this point in the history
…(e) operators
  • Loading branch information
BenoitRanque committed Jan 16, 2025
1 parent 67d8de6 commit 829886f
Show file tree
Hide file tree
Showing 6 changed files with 200 additions and 200 deletions.
8 changes: 4 additions & 4 deletions crates/configuration/src/version3/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ impl ComparisonOperatorMapping {
ComparisonOperatorMapping {
operator_name: "<=".to_string(),
exposed_name: "_lte".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::LessThanOrEqual,
},
ComparisonOperatorMapping {
operator_name: ">".to_string(),
exposed_name: "_gt".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::GreaterThan,
},
ComparisonOperatorMapping {
operator_name: ">=".to_string(),
exposed_name: "_gte".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::GreaterThanOrEqual,
},
ComparisonOperatorMapping {
operator_name: "<".to_string(),
exposed_name: "_lt".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::LessThan,
},
ComparisonOperatorMapping {
operator_name: "<>".to_string(),
Expand Down
8 changes: 4 additions & 4 deletions crates/configuration/src/version4/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ impl ComparisonOperatorMapping {
ComparisonOperatorMapping {
operator_name: "<=".to_string(),
exposed_name: "_lte".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::LessThanOrEqual,
},
ComparisonOperatorMapping {
operator_name: ">".to_string(),
exposed_name: "_gt".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::GreaterThan,
},
ComparisonOperatorMapping {
operator_name: ">=".to_string(),
exposed_name: "_gte".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::GreaterThanOrEqual,
},
ComparisonOperatorMapping {
operator_name: "<".to_string(),
exposed_name: "_lt".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::LessThan,
},
ComparisonOperatorMapping {
operator_name: "<>".to_string(),
Expand Down
8 changes: 4 additions & 4 deletions crates/configuration/src/version5/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ impl ComparisonOperatorMapping {
ComparisonOperatorMapping {
operator_name: "<=".to_string(),
exposed_name: "_lte".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::LessThanOrEqual,
},
ComparisonOperatorMapping {
operator_name: ">".to_string(),
exposed_name: "_gt".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::GreaterThan,
},
ComparisonOperatorMapping {
operator_name: ">=".to_string(),
exposed_name: "_gte".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::GreaterThanOrEqual,
},
ComparisonOperatorMapping {
operator_name: "<".to_string(),
exposed_name: "_lt".to_string(),
operator_kind: OperatorKind::Custom,
operator_kind: OperatorKind::LessThan,
},
ComparisonOperatorMapping {
operator_name: "<>".to_string(),
Expand Down
Loading

0 comments on commit 829886f

Please sign in to comment.