Hi there, just wondering if anyone can help here, ...
# prisma-whats-new
c
Hi there, just wondering if anyone can help here, I'm attempting to create/update data in this format (shown in the docs)
Copy code
mutation {
  createPost(
    title: "My great Vacation"
    slug: "my-great-vacation"
    published: true
    text: "Read about my great vacation."
    tag:  "Orange"
  ) {
    id
    slug
  }
}
for this example lets say that the tags field is an enum, and its called "TagType", that accepts "Orange", "Red" and "Green". Anyone know why I may be getting an error saying it expected type "TagType"?