codefordenver / members

Online portal for Code for Denver members
https://members.codefordenver.org
ISC License
15 stars 18 forks source link

Refactor graphql testing #321

Closed wdoug closed 5 years ago

wdoug commented 5 years ago

Use format outlined in this excellent blog post: https://medium.freecodecamp.org/a-new-approach-to-mocking-graphql-data-1ef49de3d491

An example of doing this can be found here: https://github.com/wdoug/typescript-graphql-and-hooks/commit/f31a14c93bce125cd627b6526c5a4b6540230c9f

wdoug commented 5 years ago

I started investigating this, and I'm not sure how to get the executable schema working (example) since we don't have (or at least I'm not sure how to get) a graphql SDL description of the whole schema

MikeLuDev commented 5 years ago

@wdoug I believe this was resolved a recent PR, closing.