agartha
12/09/2017, 5:09 PMmikedklein
12/12/2017, 3:28 AMmutation CraeteFarmAndAddress(
$name: String!,
$farmers: String!,
$partnerSince: Int!,
$founded: Int!,
$laborSource: String!,
$safetyCertifications: String!,
$otherCertifications: String!,
$size: String!,
$sustainabilityPractices: String!,
$url: String!,
$addressData: FarmaddressAddress,
$farmLogo: FarmfarmLogoFile!, // I would rather this by ID!
$files: [FarmfilesFile!] // I would rather this be [ID!]
) {
createFarm(name: $name, farmers: $farmers, partnerSince: $partnerSince, founded: $founded, laborSource: $laborSource, safetyCertifications: $safetyCertifications, otherCertifications: $otherCertifications, size: $size, sustainabilityPractices: $sustainabilityPractices, url: $url, address: $addressData, farmLogo: $farmLogo, files: $files) {
id
address {
id
__typename
}
__typename
}
}mikedklein
12/12/2017, 3:38 AMjovantoskic
12/12/2017, 12:40 PMjohhansantana
12/13/2017, 12:35 AMRollyMaduk
12/13/2017, 12:03 PMmo
12/13/2017, 1:15 PMmo
12/13/2017, 1:16 PMDninja
12/14/2017, 3:55 PMmax
12/19/2017, 2:40 PMmiho
12/19/2017, 2:59 PMprocess.argv or how to get extension name in function ? or filename ?Aryeh
12/20/2017, 6:09 PMnull and undefined so I can’t just set the property of the item I want to delete to say null.
What do you guys thing about passing an array of items to delete along with whatever input to update in the mutation?
Thank you for any advice!kdichev
12/26/2017, 12:35 PMkdichev
12/26/2017, 1:25 PMMichael Hsu
12/28/2017, 3:42 AMDanielHuisman
12/29/2017, 12:29 AMReborn
12/29/2017, 3:13 PMharmony
01/04/2018, 12:47 AMharmony
01/04/2018, 12:47 AMjuicycleff
01/04/2018, 2:18 PMjuicycleff
01/04/2018, 2:18 PMericsonluciano
01/05/2018, 5:01 AMthangngoc89
01/05/2018, 3:45 PMhuv1k
01/07/2018, 12:21 PMMartin Peck
01/08/2018, 9:48 AMpnicolaou
01/10/2018, 9:54 PMconst MyComponent = () => <div>hi</div>
Is it possible to call that component as a function inside another component. Like so
const SecondComponent = () => {
myFunction = () => {
MyComponent()
}
return <div>hi</div>
}pnicolaou
01/10/2018, 9:54 PMlawjolla
01/10/2018, 9:55 PM<MyComponent /> calls it in JSXpnicolaou
01/10/2018, 9:55 PMlawjolla
01/10/2018, 9:56 PM