cartogram
10/08/2017, 9:05 AMcartogram
10/08/2017, 9:05 AMhasnat
10/08/2017, 12:57 PMAdam Kobyda
10/08/2017, 1:13 PMambethia
10/08/2017, 2:11 PMClay
10/08/2017, 2:58 PMMiezan
10/08/2017, 4:28 PMgraphcool init --schema <https://graphqlbin.com/hn-starter.graphql> --name Hackernews
returns Unexpected argument <https://graphqlbin.com/hn-starter.graphql>
panzupa
10/08/2017, 4:34 PMUser
or I need to directly create user on Auth0 side as well?rein
10/08/2017, 4:36 PMjferrettiboke
10/08/2017, 4:37 PMClay
10/08/2017, 5:43 PMreturn graphcool.generateAuthToken(graphcoolUserId, 'User').then(resultToken => {
console.log(resultToken)
})
However, the resolved promise does not seem to get called.
I’m wondering if anyone could point me to the right direction for using generateAuthToken()
jt9001
10/08/2017, 7:09 PMjt9001
10/08/2017, 7:09 PMconst client = new GraphQLClient('my-endpoint', {
headers: {
Authorization: 'Bearer my-jwt-token',
},
})
rein
10/08/2017, 7:13 PMTavo
10/08/2017, 7:15 PMdannyql
10/08/2017, 10:50 PMFile uploads using the File API are not governed by the permissions on the File type. As such, everyone can upload files to your project. Please reach out in the Forum or Slack if you have any questions about this.Is it possible to secure file upload capabilities, if so how?
Josef Henryson
10/09/2017, 8:54 AMjferrettiboke
10/09/2017, 11:18 AMgraphcool deploy
even if I install last version, graphcool@1.4.0
. I got errors. Why? What version should I use to start deploying local functions?rein
10/09/2017, 1:37 PMhuv1k
10/09/2017, 1:37 PMPhil
10/09/2017, 2:23 PMJosef Henryson
10/09/2017, 2:48 PMJosef Henryson
10/09/2017, 4:36 PMjferrettiboke
10/09/2017, 5:03 PMrein
10/09/2017, 5:29 PM_p1ayer_one
10/09/2017, 5:48 PMtype Bob implements Node {
id: ID! @isUnique
foo: String!
}
I'd like to programmatically render a form with text "foo". And later, if I change it to "bar", I'd like the view to reflect that.
So, is there a way we can import types into React? Or somehow use the project.graphcool file?chandlervdw
10/09/2017, 7:32 PMPkmmte
10/09/2017, 7:35 PMpanzupa
10/09/2017, 7:44 PMUser
it is used only to authenticate against auth0 and it is connected with MyUser
(one-to-one) type - which contains all user information. The MyUser
can have many CompanyAssignments
. CompanyAssignement
is type that definies relation between MyUser
and any Company
that I have in my system. For example MyUser Joe can be Admin of Facebook (first instance of CompanyAssignment) and Joe can also be Contractor for Google (second instance of CompanyAssignment). Now I want to write query permission that will check type of CompanyAssignment that MyUser has (ie. Admin can edit, contractor can view etc.). Is that even possible given that I only have access to $node_id and $user_id in permission query?lastmjs
10/09/2017, 10:12 PM