Replies: 1 comment
-
Yes definitely, you need to override the serializer. There are examples in the issue and you can also check out the JSON API adapter (it's another repo under flutterdata) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to retrieve and display instances of Koko (each identified by kokoId). The API method that retrieves the list of Kokos encloses the list in an object that contains a named array (the name is "items") that contains the Kokos:
This form of results seems to be dictated by the API framework I am using (Google Cloud Endpoints), and I don't think I can change it.
I contrast this with the way Tasks are returned as an array of objects in the tutorial, which I think is the form expected by Flutter Data:
Is there a way to get Flutter Data to access the Kokos as if they had been provided in the expected form, similar to the way it works with the Tasks in the tutorial?
Thanks very much.
-Dan
Beta Was this translation helpful? Give feedback.
All reactions