Graphcool / graphcool-framework

Apache License 2.0
1.77k stars 131 forks source link

Update `User` and `Post` type examples #542

Closed localjo closed 4 years ago

localjo commented 6 years ago

Fixes the following errors when trying to deploy:

  Post
    ✖ The model `Post` is missing the @model directive. Please add it. See: https://github.com/graphcool/framework/issues/817
    ✖ A relation directive with a name must appear exactly 2 times. Relation name: 'UsersPosts'

  User
    ✖ A relation directive with a name must appear exactly 2 times. Relation name: 'PostsByUser'
CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.

localjo commented 4 years ago

Closing due to inactivity.