geekodour
06/24/2017, 8:53 PMnreid
06/25/2017, 12:03 AMnreid
06/25/2017, 12:03 AMnreid
06/25/2017, 12:04 AMdervos
06/25/2017, 1:40 AMkevinbrown
06/25/2017, 2:58 AMkevinbrown
06/25/2017, 2:58 AMdanielvdm
06/25/2017, 10:03 AMdanielvdm
06/25/2017, 10:03 AMgeekodour
06/25/2017, 10:32 AMinsufficient permissions
any ide why?geekodour
06/25/2017, 10:33 AMconst EditorWithUserData = graphql(USER_QUERY,{ options: { fetchPolicy: 'network-only' } })(Editor);
const EditorWithCreateMindmap = graphql(CREATE_MINDMAP,{
props: ({ownProps, createMindMap}) => ({
createMindMap: ({ name, graph }) => {
return (
createMindMap({
variables: { name, graph }
})
)
}
}),
name: 'createMindMap'
})(EditorWithUserData);
geekodour
06/25/2017, 10:33 AMgeekodour
06/25/2017, 10:38 AMpdrummond
06/25/2017, 11:14 AMopen:true
, then test it in GraphiQL, the data field in the response is NULL (and the error field contains {code:3008, message:"Invalid Permissions"}
) even though I definitely have open issues. I would expect to get errors for the fields that aren't "open" but the data field should contain the issues that are open right? Do I need to enable "partial responses for errors" or something in the react-apollo client?kevinbrown
06/25/2017, 11:20 AMError while registering Error: GraphQL error: Argument 'authProvider' expected type 'AuthProviderSignupData!' but got: {email: {email: $email, password: $password}, firstName: $firstName, lastName: $lastName}. Reason: Unknown field 'firstName' is not defined in the input type 'AuthProviderSignupData'.
Pieter
06/25/2017, 11:27 AMPieter
06/25/2017, 11:27 AMmikita_du
06/25/2017, 1:23 PMhagbarth
06/25/2017, 2:22 PMhagbarth
06/25/2017, 4:58 PMpatstrz
06/25/2017, 6:41 PMquery {
fifty: _allScoresMeta(filter:{value:50}){
count
}
hundred: _allScoresMeta(filter:{value:100}){
count
}
twohundred: _allScoresMeta(filter:{value:
200}){
count
}
}
and totaling up the points on the client.i.e) community_total = 50* data.fifty.count + 100 * data.hundred.count …
Is this sustainable if there is a large number of scores I.e) 500,000 scores, I am worried that once there are a large number of scores stored the query will timeout, or that the query will be very slow. I would be polling this query frequently ( i.e every 5 seconds).patstrz
06/25/2017, 6:44 PMckelley
06/25/2017, 10:39 PMkjetilge
06/26/2017, 1:42 AMuser
06/26/2017, 1:43 AMmmaddex
06/26/2017, 4:15 AMquery($featureId: String!) {
Discussion(featureId: $featureId) {
id
}
}
createObservation (
discussionId: <ID FROM PREVIOUS QUERY>
…
) {
id
}
I'd like to accomplish this in a single query. Above I'm first looking up a Discussion
based on an external identifier called featureId
then using the result of that query (a discussionId
) to create a proper connection when creating an Observation
Is that possible? or is there some better way to model connections that are based on some arbitrary field?visualbbasic
06/26/2017, 5:50 AMvisualbbasic
06/26/2017, 5:50 AMvisualbbasic
06/26/2017, 5:50 AMvisualbbasic
06/26/2017, 5:50 AM