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

    aflatter

    05/29/2017, 9:32 AM
    Will server-side subscriptions also be implemented for files? They currently dont seem to be triggered.
    n
    • 2
    • 23
  • p

    ppatidar

    05/29/2017, 9:44 AM
    @ppatidar pinned a message to this channel.
  • g

    gargoris

    05/29/2017, 11:20 AM
    Hello everybody
    🙌 1
    🙋 4
  • a

    akadop

    05/29/2017, 11:42 AM
    anyone know how i can save the token being sent back in an auth request, on a server-sided application?
    h
    • 2
    • 3
  • s

    syuraj

    05/29/2017, 12:23 PM
  • u

    user

    05/29/2017, 12:24 PM
    @nilan commented on @syuraj’s file

    https://prisma.slack.com/files/U5KDMF4JZ/F5K8PEU6P/image.png▾

    : hey @syuraj we restructured our examples and will update the links in the onboarding shortly - here you can find the react relay quickstart: https://github.com/graphcool-examples/react-graphql/tree/master/quickstart-with-relay
  • p

    ppatidar

    05/29/2017, 12:46 PM
    what is the different beween every, some and none in query filter for For to-many relations?
    ✅ 1
    w
    • 2
    • 2
  • n

    notrab

    05/29/2017, 2:00 PM
    I’m trying to use
    fetch
    library to do a simple POST to get data, is this supported? I’m receiving the following error
    Copy code
    The request's Content-Type is not supported. Expected:
    application/json
    n
    • 2
    • 4
  • n

    notrab

    05/29/2017, 2:01 PM
    I’m providing an Auth token and the data is being sent as json
  • c

    checkmatez

    05/29/2017, 2:29 PM
    @nilan Hello! I got an error: "Error: GraphQL error: Whoops. Looks like an internal server error. Please contact us in Slack (https://slack.graph.cool) and send us your Request ID: cj3a8af7vzvjd01480u5812f3" Can you provide me some help where to look at 🙂 My guess is that i have some problem with my inline request pipeline function.
    n
    • 2
    • 28
  • s

    sdubois

    05/29/2017, 4:53 PM
    would someone have a suggestion about this? Thanks a lot https://graphcool.slack.com/archives/C0MQJ62NL/p1495897291703723
    n
    l
    j
    • 4
    • 14
  • s

    sebastien

    05/29/2017, 6:02 PM
    Wondering if there’s an easy way to clone a node using the simple API. Say the user wants to create a new entry based on an existing one. Just doing a createEntry mutation with the same values wouldn’t work in this case because entries can have many sub-entries, and these would need to be copied as well.
  • r

    ryanwarner

    05/29/2017, 6:44 PM
    Hello, I'm new here, and still trying to wrap my head around everything. I'm using React, Relay, and graph.cool. I have a couple questions: 1. Why do I need a tool like
    get-graphql-schema
    to get my full schema? It seems like the schema I export from the GUI is largely incomplete. 2. Using the email auth integration, how do I create and signin a user all in one roundtrip? I see that some new mutations were generated (
    createUser
    and
    signinUser
    ) but no out of the box way to avoid 2 round trips. Can I create a custom mutation to do this?
    p
    n
    • 3
    • 16
  • j

    joar

    05/29/2017, 7:26 PM
    Is there any way to make a filter like “Get all users that have one or more posts?“. Would be super handy
  • j

    joar

    05/29/2017, 7:28 PM
    Being able to query on the meta field would be great, that way I could do
    Copy code
    query {
      allUsers(filter: {
        _postsMeta: {
          count_gt: 0
        }
      })
    }
    n
    • 2
    • 1
  • u

    userzach

    05/29/2017, 7:45 PM
    Hello, is it possible to push to an array type? This mutation performs a $set rather than the $push i want
    Copy code
    mutation($varID: ID!, $varSteps:[String!]) {
      updateGoalDoc(id: $varID, steps: $varSteps){
        goal
        steps
        id
      }
    }
    j
    n
    • 3
    • 12
  • u

    userzach

    05/29/2017, 7:48 PM
    Copy code
    Variables : {"varID": "cj3adqiao2c5d0107yjvsq5jw",
      "varSteps": ["The Very Last Step"]}
  • k

    kudlajz

    05/29/2017, 8:30 PM
    I have a question about relationships between types.. for example, I have a type
    Brand
    and
    Item
    .
    Item
    can only contain one
    Brand
    , where as
    Brand
    can have n
    Items
    . When creating an
    Item
    ,
    Brand
    can be selected. Do I have to first create new
    Item
    and then run another mutation and add
    Item
    to
    Brand
    ?
    u
    • 2
    • 1
  • k

    kudlajz

    05/29/2017, 8:32 PM
    I also don't quite understand the mutation
    addToItemOnBrand(itemsItemId: ID!, brandBrandId: ID!)
    .. I would expect something like
    addItemToBrand
    or something like that.. 😄 and the mutation arguments are named really strangely too.
    u
    • 2
    • 1
  • n

    nilan

    05/30/2017, 8:38 AM
    ping @ryanwarner
  • u

    2ne

    05/30/2017, 9:49 AM
    Does anyone have any good examples of a chat or instant messenger schema?
  • b

    barbatus

    05/30/2017, 10:02 AM
    do pipeline functions really work? i am trying right now inline one with just
    return {data: event.data}
    it throws
    Whoops. Looks like an internal server error
    every time
    n
    • 2
    • 4
  • g

    guillaume_ti

    05/30/2017, 11:05 AM
    Can someone confirm the logic when in query permissions I use multiple type filter like
    Copy code
    query ($engageInPact_id: ID!, $user_id: ID!, $participantsUser_id: ID!) {
      SomeUserExists(filter:{
        AND: [
          {id:$user_id}
          {id:$participantsUser_id}
        ]
      })
      SomePactExists(filter: {
        AND: [
          {id:$engageInPact_id}
          {OR:[
                {public:true}
                {viewerUsers_some: {id: $user_id} }
                {viewerGroups_some:{ users_some: {id: $user_id}} }
            ]}
        ]
      })
    }
    It seems to be a OR ?
    n
    • 2
    • 17
  • a

    artyom

    05/30/2017, 11:59 AM
    hey there @fatihsenel @markus @utopiadev @trevorgerhardt @pbassut @richard_wepner_tu @nodza @basith374 @kaushal @ckelley @quangtran @kadi @n1ru4l , welcome all to graphcool 🙌 🚀
  • g

    gollyjer

    05/30/2017, 12:46 PM
    Hi guys. What are people using to coerce a graphcool response into a React Native flatlist and sectionlist? It seems more difficult than it should be. 😄
    j
    • 2
    • 3
  • a

    artyom

    05/30/2017, 1:55 PM
    welcome to graphcool @sylver @athiwat @carlrosell @return007 @rachid-sahil @gauthier 🙌
  • r

    rachid-sahil

    05/30/2017, 1:58 PM
    thank you artyom 🙂
  • p

    ppatidar

    05/30/2017, 2:02 PM
    @nilan Can i update mu user password? I'm calling mutaion call like that: mutation{ updateUser(id:"cj3be80ci3zqa01446q4eieae",password:"12345678"){ id } } I'm getting error like that: Unknown argument 'password' on field 'updateUser' of type 'Mutation'. (line 2, column 45):\n updateUser(id:\"cj3be80ci3zqa01446q4eieae\",password:\"12345678\"){\n ^"
    🅿️ 1
    n
    • 2
    • 3
  • d

    derbingle

    05/30/2017, 2:05 PM
    Hey all, quick question… I want the Alfred Workflow I created for graphcool to be able to search the docs and return live results. Do you have a way to do this, like maybe a graphcool endpoint for graphcool docs? 😜 If not, I’ll just use a custom Google search, but I thought I’d ask first. 🙂
    n
    • 2
    • 1
  • s

    sylver

    05/30/2017, 2:25 PM
    thanks @artyom 🙂
1...206207208...637Latest