LittleKidogo / mula_spender

Some automated forms to aid in our spending
MIT License
3 stars 0 forks source link

Specify a types for functions and errors in resolvers #123

Open zacck-zz opened 6 years ago

zacck-zz commented 6 years ago

Expected Behavior

Our resolvers currently have functions that can produce a certain error or a result from the context layer below. We should add typespecs to all the functions in the resolvers and

Actual Behavior

At the moment there are no types for any errors or functions in the resolvers

Acceptance Criteria

The errors that can occur in the resolvers should have a type that is shown in the resolver specs, the functions should have their types specified

Steps to Reproduce the Problem

  1. Our GraphQL resolvers don't have types for the errors and the functions

Specifications

zacck-zz commented 6 years ago

I think @br4inii and @WanjikuMac you two should work together to finish this issue it will get you guys very familiar with the project

zacck-zz commented 6 years ago

@br4inii @WanjikuMac let me know when we can meet up and I can give you guys direction for what to do here