marika.w
07/14/2017, 8:44 PMquery ($user_id: ID!) {
SomeUserExists(
filter: {
id: $user_id,
role: ADMIN
}
)
}
cj
07/14/2017, 9:45 PMpeterp
07/14/2017, 9:46 PMfindById
request?peterp
07/14/2017, 9:47 PMmike.johnson
07/14/2017, 10:21 PMcj
07/14/2017, 10:51 PMteo
07/14/2017, 10:56 PMkevinbrown
07/14/2017, 11:02 PMgraph.cool
endpoint with a bunch of requests. Two concerns, the first is billing, that’d probably lead to some severe bill shock, and secondly, what protections are in place to stop someone registering a flood of users, etc?kjones
07/14/2017, 11:23 PMUser
type, clicked define function and went with the default generated subscription of mutation_in: [CREATED, UPDATED, DELETED]
and the function that just returns {data: event.data}
. If I use the Test Run button the function works as expected, but when I update my user data it still shows 0 invocations and an empty log. I saw in the docs that there's a limitation where subscriptions won't work for the File
type, is there any reason the other system type of User
wouldn't work either?cj
07/14/2017, 11:41 PMCreate
permission only allow you to create a Customer
if your authenticated User.id
matches the Customer.createdBy.id
?
query ($user_id: ID!) {
SomeCustomerExists(filter: {
createdBy: {
id: $user_id
}
})
}
enricenrich
07/14/2017, 11:53 PMkatopz
07/15/2017, 12:45 AMmax
07/15/2017, 12:55 AMauser
07/15/2017, 1:34 AMauser
07/15/2017, 1:35 AMauser
07/15/2017, 1:35 AMmike.johnson
07/15/2017, 2:01 AMcj
07/15/2017, 2:42 AMauser
07/15/2017, 3:24 AMauser
07/15/2017, 3:25 AMhammerspb
07/15/2017, 4:11 AMthis.props.history.push('same url')
) apollo client doesn't send request to the server. It looks like it gets all data from cache.dan_groch
07/15/2017, 8:55 AMdan_groch
07/15/2017, 8:55 AMdan_groch
07/15/2017, 8:56 AM12brols
07/15/2017, 2:24 PM12brols
07/15/2017, 2:25 PMilija
07/15/2017, 3:09 PMfrankspin
07/15/2017, 3:57 PMsignor_busi
07/15/2017, 4:07 PMsignor_busi
07/15/2017, 4:07 PM