Hello, I am facing issue with graphql schema, not sure if prisma has anything to do with it..
The issue is, I have schema as follows:
type Link {
id: ID!
description: String!
url: String!
postedBy: User
votes: [Vote!]!
createdAt: DateTime! @createdAt
}
But when I run Node, it throws error as "Error: Field createdAt: Couldn't find type DateTime in any of the schemas.",
If I replace DateTime with String, it throws error for @createdAt Directive: "Error: Directive createdAt: Couldn't find type createdAt in any of the schemas."