Skip to content

Commit

Permalink
address use of deprecated members
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Oct 1, 2024
1 parent 2eecaa8 commit 8d0a14a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 8 additions & 2 deletions pkgs/appengine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
## 0.13.9-wip

* Update the pubspec repository field to reflect the new repo location.

## 0.13.8
* Require `package:protobuf` ^3.1.0.

* Require `package:protobuf` ^3.1.0.

## 0.13.7
* Widen dependency constraint on `package:http`.

* Widen dependency constraint on `package:http`.

## 0.13.6

Expand Down
2 changes: 2 additions & 0 deletions pkgs/appengine/lib/src/grpc_api_impl/datastore_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ class _Codec {
raw.FilterRelation.LessThanOrEqual:
PropertyFilter_Operator.LESS_THAN_OR_EQUAL,
raw.FilterRelation.Equal: PropertyFilter_Operator.EQUAL,
// ignore: deprecated_member_use
raw.FilterRelation.GreatherThan: PropertyFilter_Operator.GREATER_THAN,
// ignore: deprecated_member_use
raw.FilterRelation.GreatherThanOrEqual:
PropertyFilter_Operator.GREATER_THAN_OR_EQUAL,
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/appengine/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: appengine
version: 0.13.8
version: 0.13.9-wip
description: >
Support for using Dart as a custom runtime on Google App Engine Flexible
Environment
Expand Down
2 changes: 2 additions & 0 deletions pkgs/appengine/test/integration/raw_datastore_test_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ runTests(Datastore datastore, String namespace) {
}

var filters = [
// ignore: deprecated_member_use
Filter(FilterRelation.GreatherThan, QUERY_KEY, QUERY_LOWER_BOUND),
Filter(FilterRelation.LessThan, QUERY_KEY, QUERY_UPPER_BOUND),
];
Expand All @@ -784,6 +785,7 @@ runTests(Datastore datastore, String namespace) {
Filter(FilterRelation.Equal, TEST_UNINDEXED_PROPERTY, QUERY_INDEX_VALUE)
];

// ignore: deprecated_member_use
var orders = [Order(OrderDirection.Decending, QUERY_KEY)];

test('query', () {
Expand Down

0 comments on commit 8d0a14a

Please sign in to comment.