Join Slack
Powered by
How do I use the new framework and the File Manage...
# prisma-whats-new
d
donedgardo
11/14/2017, 5:19 AM
How do I use the new framework and the File Management? eg.
Copy code
type Post @model { id: ID! @isUnique title: String! image: File #???? }
Do I have to create the File Type?
👍 1
a
agartha
11/14/2017, 5:30 AM
As soon as you add the File type to your types.graphql, the File API will be available, as well as the Image API for retrieval.
👍 1
d
donedgardo
11/14/2017, 4:22 PM
Thanks
👍 1
👍🏻 1
2
Views
Open in Slack
Previous
Next