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

    visualbbasic

    07/13/2017, 3:10 AM
    hey guys
  • v

    visualbbasic

    07/13/2017, 3:10 AM
    is it alright to use graphcool simple API in relay?
  • y

    yus

    07/13/2017, 3:19 AM
    Thats not gonna work @visualbbasic u have to use the relay endpoint
  • m

    marcusstenbeck

    07/13/2017, 7:51 AM
    I’m using Apollo with the simple endpoint. It seems like Apollo is stripping my strings, but I would like to keep the multiline text with line breaks. Suggestions?
    d
    • 2
    • 3
  • f

    frankspin

    07/13/2017, 8:34 AM
    What would be the best way to handle optimistic response in combination with subscriptions?
    d
    • 2
    • 5
  • r

    ryan

    07/13/2017, 8:36 AM
    Hello, everyone, just a quick question on the “createdAt_in” filter as I couldn’t seem to get it to work the way I expected. I have a Order type and once I created a node of it, the system will automatically fill in the createdAt field with a DateTime!. I then tried to query it in the playground by applying the filter createdAt_in, which I supplied a [DateTime!] in the format of an array of 2 strings, representing the range of time. What I found was I had to give one of the string (DateTime!) with the exact createdAt time only then I can get back a list of orders created, otherwise I’m only getting back an empty array. Is this normal? Any help is appreciated! Thanks!
    d
    • 2
    • 3
  • r

    ryan

    07/13/2017, 10:29 AM
    Hello, everyone, is it possible to create field that lives on the edge of two types? I have a Order type and a menuItem type where I’d like to be able to display the quantities (number of times) of each menuItem being ordered. Having a quantities field on the menuItem type didn’t seem to make sense to me. The only way I can think of is to have such field that’s on the edge of these two types (where they are in many-to-many relation). Is it possible to do as I couldn’t seem to find such info from the documentation. Or is there any other ways to achieve the same result? Any help is greatly appreciated! Many thanks!
    n
    • 2
    • 2
  • s

    Sergey

    07/13/2017, 10:42 AM
    hello, guys how i can run this ?
    Copy code
    deleteCarAsync = async (carId) => {
        await graphql(deleteCar,
          {
            options: { variables: { idCar: carId } },
          }
        )(this.afterDeleteCar)
      }
    d
    • 2
    • 13
  • h

    halborg

    07/13/2017, 11:40 AM
    Anyone who has had luck implementing a simple pull-to-refresh on RN with Relay Modern? If so, please ping me 🙂
  • l

    lewisblackwood

    07/13/2017, 1:00 PM
    We're seeing a lot of websocket errors today:
    WebSocket is closed before the connection is established.
    Is there any known issue?
  • f

    frankspin

    07/13/2017, 1:11 PM
    +1
    n
    l
    • 3
    • 7
  • t

    teamdim

    07/13/2017, 1:25 PM
    hi guys. is there an auth example with Vue?
    n
    f
    +2
    • 5
    • 45
  • m

    mwickett

    07/13/2017, 1:53 PM
    Is it possible to move a project to a different region?
    n
    • 2
    • 4
  • l

    louistm

    07/13/2017, 2:48 PM
    Based on this page (https://www.graph.cool/docs/reference/schema/fields-teizeit5se/#unique), "only the first 191 characters in a String field are considered for uniqueness and the unique check is case insensitive". I'm evaluating Graphcool for corporate projects. Our key data field in our DB is an 11-character case-sensitive field (e.g, K7ar917Gku7). We need to be able to submit a query to Graphcool using this ID field...any thoughts on a workaround or how to make this possible?
    n
    • 2
    • 27
  • m

    mwickett

    07/13/2017, 3:07 PM
    I have some questions / concerns about authentication, I had a call with a developer from auth0 yesterday and we walked through some issues. He identified that Graph.cool’s auth0 integration isn’t great - specifically using HS256 tokens instead of RS256, I know there’s improvements to some of the features around email/password auth coming, but do you have improvements to the auth0 integration in the works as well?
    n
    • 2
    • 1
  • m

    mwickett

    07/13/2017, 3:09 PM
    Secondly, if I drop a token issued using graph.cool’s email auth into http://jwt.io, I’m getting an ‘invalid signature’ error. Can anyone else confirm this?
    n
    • 2
    • 5
  • i

    inderdeepbajwa

    07/13/2017, 3:47 PM
    Greetings everyone
    👋 1
    f
    • 2
    • 1
  • i

    inderdeepbajwa

    07/13/2017, 3:49 PM
    Hugo developer here. I also develop apps and websites using Middleman, Gatsby, Rails and few other popular static generators
  • i

    inderdeepbajwa

    07/13/2017, 3:49 PM
    I have used Firebase but this is the first time I've been into GraphQL
  • i

    inderdeepbajwa

    07/13/2017, 3:49 PM
    How's everyone doing?
  • n

    nilan

    07/13/2017, 3:59 PM
    Hey @inderdeepbajwa nice to meet you 🤗
    👋 1
  • j

    jdspugh

    07/13/2017, 4:39 PM
    Hi there. When I make a react app do the graphcool queries get sent to my web server and then to the graphcool server?
  • m

    mwickett

    07/13/2017, 4:48 PM
    @jdspugh No, they go directly to graph.cool
  • m

    mwickett

    07/13/2017, 4:48 PM
    If you’re using Apollo, you’ll see a fetch POST request to your Graph.cool endpoint
    👍 1
  • m

    mike.johnson

    07/13/2017, 4:49 PM
    if I have a query to display allPurchases. and in another component a mutation creates a purchase, how does the allPurchases receive the updated data prop?
  • m

    mwickett

    07/13/2017, 4:50 PM
    @mike.johnson Are you using Apollo?
  • m

    mike.johnson

    07/13/2017, 4:50 PM
    Sorry, yes
  • m

    mike.johnson

    07/13/2017, 4:52 PM
    It works if I query for user { purchases { id }}
  • m

    mwickett

    07/13/2017, 4:52 PM
    Yeah, that’s fairly common. Easiest way is import your allPurchases query into whereever you’re calling your newPurchase mutation and call this.props.data.refetch({ queryName })
  • m

    mike.johnson

    07/13/2017, 4:52 PM
    that will correctly update
1...266267268...637Latest