Closed medz closed 4 months ago
Thanks for your work @medz. By the way, is there a way to generate toJson in the generated model class? I want to send json data from model to client, so I have to manual add extension method to it, it's too verbose.
Thanks for your work @medz. By the way, is there a way to generate toJson in the generated model class? I want to send json data from model to client, so I have to manual add extension method to it, it's too verbose.
Understand your problem, and I will create a new feature to implement it.
type 'MappedListIterable<dynamic, dynamic>' is not a subtype of type 'Iterable<int>?'
. It should change from likejson['posts']
toList.from(json['posts']
Originally posted by @ebwood in https://github.com/medz/prisma-dart/issues/324#issuecomment-1930376433