randomnerd
11/10/2017, 11:04 AMGabriel Poama-Neagra
11/10/2017, 11:27 AMgauravkaushik
11/10/2017, 11:53 AM@isUnique
field to an existing type in my schema. When adding a new field, it requires a @migrationValue(value: "something")
. But since the field is supposed to be unique, I can't give a static migration value. Is there a way to give randomly generated values within the types.graphql
document, or to reference another existing field in some way to fill this newly generated field?Vinnie
11/10/2017, 12:04 PMHennadiy
11/10/2017, 1:53 PMHennadiy
11/10/2017, 2:04 PMSomeType1Exists() OR SomeType2Exists()
. 2. Is it possible to use a resolver in permission query? Thanks in advance.daniele
11/10/2017, 4:16 PMnilan
11/10/2017, 5:15 PMemils
11/10/2017, 5:27 PMhttps://media.giphy.com/media/26AHqztlb4CzG3WTu/giphy.gifβΎ
albeik
11/10/2017, 5:36 PMalbeik
11/10/2017, 5:41 PM1. frontend.js: post(file) to graphCool.resolver(file)
2. graphcool.resolver(): post to cloudinary (keys are hidden)
3. do any other updates (if needed)
4. return { cloudinary_url }
senorcodecat
11/10/2017, 5:55 PMsenorcodecat
11/10/2017, 5:59 PMpeterp
11/10/2017, 6:12 PMinvoke-local
?peterp
11/10/2017, 6:14 PMgraphcool invoke-local -j myFunction.json --function myFunction -t prod
the json I pass in is event
from the logsmo
11/10/2017, 6:28 PMdonald
11/10/2017, 7:22 PMMODULE_NOT_FOUND
error for lodash/maxBy
, but when deploying my function, it works properly? lodash
is installed locally and in my package.jsonFitch
11/10/2017, 7:24 PMFitch
11/10/2017, 7:26 PMdonald
11/10/2017, 7:35 PMMODULE_NOT_FOUND
error and I can invoke the function, but when running graphcool deploy --dry-run
, I now get Could not create serverless function for 'getContactLastInteractions'. Ensure that the code is valid
donald
11/10/2017, 7:36 PMconst lodashMaxBy = require("lodash/maxBy");
to import lodash from 'lodash'
fixes the problem, but I don't really want to import all of lodashFitch
11/10/2017, 7:42 PMdonald
11/10/2017, 7:50 PMorr
11/10/2017, 8:57 PMgraphcool diff
? The CLI is telling me to use it to find "potentially destructive changes" but using that command results in diff is not a graphcool command
senorcodecat
11/10/2017, 9:02 PMbrad.barnes
11/10/2017, 10:03 PMwontwon
11/10/2017, 10:36 PMwontwon
11/10/2017, 10:37 PMGdog
11/10/2017, 11:13 PMbobbyt
11/10/2017, 11:24 PM