Skip to content

Commit

Permalink
Explicitly ignoring deprecation usages.
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Jan 17, 2025
1 parent e471fef commit 4243d95
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ analyzer:
unused_import: error
unused_local_variable: error
dead_code: error
deprecated_member_use_from_same_package: ignore

linter:
rules:
Expand Down
1 change: 1 addition & 0 deletions lib/src/message_window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Future<ServerMessage> _parseCopyDataMessage(
if (code == ReplicationMessageId.primaryKeepAlive) {
return PrimaryKeepAliveMessage.parse(reader);
} else if (code == ReplicationMessageId.xLogData) {
// ignore: deprecated_member_use_from_same_package
return XLogDataMessage.parse(
reader.read(length - 1),
reader.encoding,
Expand Down
1 change: 1 addition & 0 deletions lib/src/messages/logical_replication_messages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ class TupleDataColumn {

@override
String toString() =>
// ignore: deprecated_member_use_from_same_package
'TupleDataColumn(typeId: $typeId, length: $length, data: $data)';
}

Expand Down

0 comments on commit 4243d95

Please sign in to comment.