I don't know why, my schema seems to be fine at <h...
# prisma-whats-new
j
I don't know why, my schema seems to be fine at https://github.com/jcortes/api-hotels/blob/master/types.graphql
n
https://github.com/jcortes/api-hotels/blob/master/types.graphql#L66 needs to say
subcategories: [Category!]! @relation(name: "CategorySubcategories")
instead
j
ok thanks I have changed that part in my code, but now I'm getting another error:
Copy code
graphcool diff
Getting diff for cj8p0bbro002h01591gyfmesw with target default.... ✔
There are issues with the new project definition:

  Global
    ✖ Could not create serverless function for 'signup'. Ensure that the code is valid
Do you have any idea, what could be the problem?
Ok, I ran again
Copy code
graphcool diff
and apparently it's working now