Closed preetjdp closed 4 years ago
This may also be a possible candidate for the code gen process. https://pub.dev/packages/dart_graphql
This is how a Owe currently looks under the graphql
type Owe {
id: ID!
title: String!
amount: Float!
issuedBy: User!
issuedTo: User!
created: Timestamp!
}
The Implementation made with https://github.com/preetjdp/YouOweMe/commit/9b6f6dc472845938ba4b51e78c335a251d438261 does seem work. Although there are a couple of tweaks / and problems.
Seva$Query$User
<== How is this a good class name?
Things seem to be working pretty nicely after using this. https://github.com/comigor/artemis/issues/99#issuecomment-594739281
Is your feature request related to a problem? Please describe. The current way getting things from the GraphQL api is pretty a
Describe the idea / solution you'd like The solution is to explore ways to generate (/ or manually write) Classes with proper types.
The current idea is to try out Artemis and come up with a robust solution.