Cosinus
Cosinus
There is no error, simply in the second browser tab where the subscription is running (in aws appsync console), there is no response. On the first browser tab I am...
input CreateNotesInput { title: String body: String } input DeleteNotesInput { id: ID! } type Mutation { createNotes(input: CreateNotesInput!): Notes updateNotes(input: UpdateNotesInput!): Notes deleteNotes(input: DeleteNotesInput!): Notes } type Notes {...
subscription { onCreateNotes { title body } } This works as expected. Hit run(second browser window), and is waiting. On the first browser tab hit run on create mutation and...
For example on IOS the params are optional, default to nil (null) so you can call the subscription without params
  subscription OnCreateNotes($id: ID, $title: String, $body: String) parameter are not with ! so they are optional, generated by...
Even this is sdk-js, I don't think is any different then swift. All the code is generated by appsync automatically The images on my comment above shows that is not...
I understand, but those params are not required so they should be ignored if are not present. If you look at the code generated you can call the constructor with...
Yes this is true but they need a fix because code generated doesn't say such a thing. Or at least fix the created subscription, to be without params.
Switched to flutter and firebase in the meantime (hope by 202x there will be some dart package from AWS). We are heavily using aws everywhere so I am still interested...
https://github.com/escamoteur/flutter_weather_demo/blob/using_service_loactor/lib/service_locator.dart