Skip to content

Commit

Permalink
fix(client): default toEncodable
Browse files Browse the repository at this point in the history
  • Loading branch information
micimize committed Aug 27, 2019
1 parent da20541 commit 5f938e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/graphql/lib/src/core/raw_operation_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class RawOperationData {
if (isIoFile(object)) {
return object.path;
}
return object;
// default toEncodable behavior
return object.toJson();
});

return '$document|$encodedVariables|$_identifier';
Expand Down

0 comments on commit 5f938e4

Please sign in to comment.