Created
October 24, 2018 16:05
-
-
Save SaraVieira/544bee7bac99d7e817a7323d853dd3d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Image = new GraphQLScalarType({ | |
name: "Image", | |
description: "An Image Scalar", | |
serialize: value => isImage(value) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment