https://www.prisma.io/ logo
Join Slack
Powered by
# prisma-whats-new
  • u

    user

    02/12/2017, 7:55 PM
    @nilan commented on @mulyoved’s file

    https://prisma.slack.com/files/U448J9R1A/F43MUJD6V/2-12-2017_9-52-09_pm.png▾

    : in the
    Dish(id: ID)
    query
  • u

    user

    02/12/2017, 7:55 PM
    @nilan commented on @mulyoved’s file

    https://prisma.slack.com/files/U448J9R1A/F43MUJD6V/2-12-2017_9-52-09_pm.png▾

    : you have to supply a string,
    null
    is not allowed
  • m

    mulyoved

    02/12/2017, 7:57 PM
    thanks
    👍 1
  • g

    gmuresan

    02/12/2017, 9:15 PM
    How would you perform validation on the server? Would I use the mutation callbacks? For example, if a user is able to create Company nodes, but I want to make sure they don’t create any Companies with duplicate names, how would I do that?
    n
    • 2
    • 6
  • a

    antonovm

    02/12/2017, 9:48 PM
    Hello i'm just trying to understand how this cool graph cool thing works. Is there a simple way of proxying a REST API query?
    n
    • 2
    • 2
  • n

    nilan

    02/12/2017, 10:05 PM
    Hey @yangmillstheory 🙂 Thanks for the PRs!
  • y

    yangmillstheory

    02/12/2017, 10:06 PM
    👋 np thanks for the great tutorial 👍
  • v

    vinspee

    02/12/2017, 11:53 PM
    grr now I’m having trouble getting my apollo datastore to update. I do a mutation, see it post successfully, can see the new item in graph.cool’s panel, but another component in my app doesn’t update to reflect the changes. I have
    dataIdFromObject: o => o.id
    set, I’ve tried
    forceFetch
    , and I’ve tried
    refetchQueries
    . None of them update the apollo store!
    n
    y
    • 3
    • 75
  • m

    mikeroelens

    02/13/2017, 2:42 AM
    Hi guys. Looking to understand more about permissions. Based on the docs and the portal it doesn't look like permissions are too extensive. For example, it looks like you can only specify access based on authenticated or not. Is there a way to limit permissions based on the current user? E.g. A user can only edit documents they've created
    👍 3
    n
    • 2
    • 1
  • n

    nilan

    02/13/2017, 7:19 AM
    hi @biscarch, welcome simple smile
  • a

    afgh

    02/13/2017, 9:27 AM
    Do you have any kind of estimate on when adding files through GraphQL will be possible? Are we talking weeks or months? 😛
    n
    • 2
    • 6
  • e

    ejoebstl

    02/13/2017, 9:35 AM
    Hello graphcool team, What is the length limit for a string field?
    n
    • 2
    • 4
  • a

    afgh

    02/13/2017, 1:59 PM
    How are you supposed to reference a relation in a query?
    mutation addPhoto($id: ID!, $story: ID!)
    where $story is a related object doesn’t work, but am I really supposed to pass in a result from a query rather than just an ID?
    n
    • 2
    • 12
  • n

    nilan

    02/13/2017, 2:01 PM
    Welcome to this Slack @jojo, @manos and @dkh 🎉
  • d

    dkh

    02/13/2017, 3:08 PM
    Thanks @nilan awesome platform 👍
    🦜 1
  • n

    nilan

    02/13/2017, 3:09 PM
    Hi there @sensone 🙂
  • s

    sdubois

    02/13/2017, 3:22 PM
    @nilan could you say where is the issue that will allow to manually create users without going through oauth flow?
  • s

    sdubois

    02/13/2017, 3:22 PM
    the one we discussed recently
  • n

    nilan

    02/13/2017, 3:28 PM
    I remember that. Seems there is no feature request yet, could you create one?
  • s

    sensone

    02/13/2017, 3:33 PM
    @nilan hi ))
  • s

    sdubois

    02/13/2017, 3:43 PM
    @nilan sure I created https://github.com/graphcool/feature-requests/issues/99
  • n

    nilan

    02/13/2017, 3:43 PM
    Awesome thanks! 🙂
  • n

    nilan

    02/14/2017, 9:16 AM
    Welcome @dgeske @riley and @preetamvp 🙂
  • s

    shaharh

    02/14/2017, 1:40 PM
    Hey everybody , a few small questions : - is it possible to execute custom code somehow on event like creation of a certain object ? - do you guys recommend having separate accounts for staging and production for example , how do you recommend going about this ? - I am a bit of a beginner , is ther an example for pagination using Graphcool ? (Or endless scroll ) for list views?
    n
    • 2
    • 5
  • a

    alex_ye

    02/14/2017, 2:21 PM
    Hi! I think it would be awesome to implement something like Apollo Optics http://www.apollodata.com/optics
    👍 1
    n
    s
    • 3
    • 4
  • p

    presto

    02/14/2017, 2:42 PM
    Hey guys, question here Does
    graphql-config
    is only for development ? in production do i need to add schema instead?
    n
    • 2
    • 2
  • n

    nilan

    02/14/2017, 3:46 PM
    Welcome @krypton97 to our Slack community 👋
  • m

    martin

    02/14/2017, 6:21 PM
    Are we able to “zap” nodes (such as email addresses) created on Graph.cool to other services (such as MailChimp) via Zapier.com?
    n
    • 2
    • 4
  • g

    gollyjer

    02/14/2017, 7:18 PM
    Stupid question... How do you connect to a public graphql api like the star wars api listed here? https://github.com/APIs-guru/graphql-apis
  • g

    gollyjer

    02/14/2017, 7:19 PM
    Or, more directly. How do you figure out the uri to use when creating a networkInterface?
    n
    • 2
    • 14
1...104105106...637Latest