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
Is your feature request related to a problem? Please describe.
We should aggregate all queries in one place so they are easier to maintain and also easy to mock
Describe the solution you'd like
A GraphQLClient class that would have a field for each module. A module could be LoanService a class that contains for example a getUserEarnings
class GraphQLClient {
constructor() {
loans = new LoanService(...)
}
loans: LoanService
}
Is your feature request related to a problem? Please describe.
We should aggregate all queries in one place so they are easier to maintain and also easy to mock
Describe the solution you'd like
A GraphQLClient class that would have a field for each module. A module could be
LoanService
a class that contains for example agetUserEarnings
The text was updated successfully, but these errors were encountered: