hydrateio / advanced-graphql-server-tutorial

Code examples for an advanced GraphQL server tutorial.
6 stars 2 forks source link

fix code snippets on step 1 #15

Closed kevindavi5 closed 5 years ago

kevindavi5 commented 5 years ago

closes #13

Generate Safe Queries Section [x] - A code snippet appears as if we should be referencing src/schema/checkout/checkout.model.js but the schema directory doesn’t exist in src yet. [x] - The code in the step-1 branch has the query and the where clause updates inside the checkouts resolver. We should probably instruct the user to do the same. // File: src/index.js is good but we should tell them where.

Verify GraphQL Query Section [x] - need to update code snippet query from user_email: to userEmail

***I've opened the PR against the step-1 branch. Please correct this if wrong.