You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final RouteCommand request = RouteCommand(param: data!.toService()); //toService is a handrolled function to translate from FE domain to client domain
serviceClient!.establishOrganization(request).then((reply) { //serviceClient was setup in ChangeNotifier constructor succesfully
print(reply)
data = [...data, domain.DataType.fromService(reply)]; //fromService is another handrolled function to translate the other way
});
Expected result: being able to see the same kinds of expected errors as in step3, which are programmed into the Kalix service, printed in step 6 - or else the valid response when provided (both have been attempted)
Actual result:
Since the Kalix service can be called with both curl and grpcurl to generate expected error messages, it seems my Dart code is likely the issue here. It is cobbled together from various examples and StackOverflows, so it is likely not all correct.
Using v3.0.2
Repro steps
Expected result: being able to see the same kinds of expected errors as in step3, which are programmed into the Kalix service, printed in step 6 - or else the valid response when provided (both have been attempted)
Actual result:
Details
Since the Kalix service can be called with both curl and grpcurl to generate expected error messages, it seems my Dart code is likely the issue here. It is cobbled together from various examples and StackOverflows, so it is likely not all correct.
#clients.dart
The text was updated successfully, but these errors were encountered: