Created
February 18, 2020 13:08
-
-
Save fakenickels/cda2025bf481ae421083dfedbba59cf4 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 field = ({name, type, resolver}) => { | |
return { | |
name, | |
stringifyResponse: type, | |
getFieldValue: resolver, | |
} | |
} | |
let schema = field({}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment