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

    matty

    08/10/2017, 1:01 AM
    In a demo with a client, the enum breaking change just messed up the whole thing
  • m

    matty

    08/10/2017, 1:06 AM
    The minute you realized this was an issue you should have alerted the user base
  • m

    matty

    08/10/2017, 1:09 AM
    also should have reverted and rolled out later after giving the heads up
    šŸ‘šŸ» 2
    n
    • 2
    • 1
  • j

    joshpitzalis

    08/10/2017, 7:24 AM
    I’m struggling to filter a query by date. Can anyone help me filter this query by result from today onwards…```const Games = gql` query allGamesQuery { allGames(orderBy: createdAt_DESC) { date time gender skill set id users { picture } } }
    Copy code
    `
    
    I tried 
    ```const Games = gql`
      query allGamesQuery {
        allGames(orderBy: createdAt_DESC, filter: {date_gte: new Date().toISOString() }} {
          …
        }
      }
    `
    …but I’m obviously missing something because it doesn’t like that at all. But the error log isn’t very useful…
    Copy code
    Unhandled (in react-apollo) ApolloError@http://packager.xd-2y7.joshpitzalis.padel.exp.direct:80/./node_modules/react-native-scripts/build/bin/crna-entry.bundle?platform=android&dev=true&hot=false&minify=false:89488:36
    Any help at all will be much appreciated.
    d
    • 2
    • 14
  • n

    notrab

    08/10/2017, 9:53 AM
    Is it just me or does anyone else have difficulty signing into the forum?
  • n

    notrab

    08/10/2017, 9:54 AM
    Nothing happens after
    Authentication is complete. Close this window to continue.
    . I thought it was just me but it can’t be, this has been happening for weeks across multiple devices.
    n
    • 2
    • 7
  • s

    samuell

    08/10/2017, 11:43 AM
    Hey, its there tutorial or example how to use
    update ()
    on mutation, if i want to update same object in store ?
    d
    • 2
    • 7
  • j

    joar

    08/10/2017, 12:06 PM
    Does
    fullError
    and
    userError
    have any special meaning? Or is it just a convention?
    n
    • 2
    • 1
  • e

    eraldo

    08/10/2017, 1:03 PM
    Where can I find examples of keeping complex relations in sync?
    n
    • 2
    • 1
  • e

    eraldo

    08/10/2017, 1:04 PM
    (since there are no onDelete hooks)
  • s

    samjbmason

    08/10/2017, 1:43 PM
    @nilan Is the datepicker in the console a custom react thing you guys built or an existing module?
    n
    • 2
    • 1
  • s

    samjbmason

    08/10/2017, 2:02 PM
    Whats the max string size that can be added to a field?
    d
    • 2
    • 1
  • b

    bonder

    08/10/2017, 2:34 PM
    Hi gang! Can someone sanity check my noob design: I have a type called an Inquiry. When an Inquiry is created, I want to also create a ContactPlan which is a collection of, for example, 8 line items specifying when and how to contact the inquiring prospective customer. Example: today, tomorrow, next day by phone, then every 4 days by email thereafter. I think what i want is a subscription to receive Inquiry creation events, create the planlines, and relate them to the inquiry object. Does that sound reasonable? All feedback welcome. :)
    n
    • 2
    • 2
  • a

    anton-b

    08/10/2017, 2:59 PM
    I'm not sure if this concept has a specific name. But I'm wondering what the preferred way is to handle routing if a user should act on behalf of a company like:
    <http://dashboard.app.io/companyId/overview|dashboard.app.io/companyId/overview>
    . Any links to tutorials, forum threads or documentation about it, would be appreciated! 😊 - I'm working with React/Apollo
    d
    • 2
    • 5
  • i

    idkjsx

    08/10/2017, 3:11 PM
    #HowToGraphQL @nikolasburk, greetings. at about 8:30(

    https://youtu.be/I6I2Y-t7tGI?t=8m30sā–¾

    ) mark of React-Relay 2/9 video you mention automatic path refactoring in webstorm. I cant seem to find that in the ws docs. Do you mind sharing where you set that if you can? Thank you, sir.
    d
    • 2
    • 2
  • d

    doug_w

    08/10/2017, 3:35 PM
    Can anyone share any resources or approaches regarding data migration from a SQL database to graph.cool. Current system is MySQL, 300-400k records. Speed isn’t a top priority as I hope to only map it correctly once. The data is pretty messing so writing scripts to organize will be key.
    d
    n
    s
    • 4
    • 12
  • a

    aurnik

    08/10/2017, 6:48 PM
    Are there a lot of updates being pushed to the console right now? Or is it a bug if I keep getting that message
    n
    • 2
    • 1
  • m

    marcusstenbeck

    08/10/2017, 7:11 PM
    When using Graphcool Functions with webhooks, is there any way of knowing the request came from my Graphcool account? I’m wanting to integrate with another service I have, and I want to make sure the only requests allowed come from my Graphcool Functions.
    n
    • 2
    • 6
  • p

    Pieter

    08/10/2017, 7:12 PM
    how do I filter to check for null value?
  • p

    Pieter

    08/10/2017, 7:13 PM
    I got a schema where my object has a
    image
    relation to the FILE api. If the
    image
    is null, how do I filter it out of my results?
    ...(filter:{image:{id_not: null}}) { ...
    throws an error
    The inline argument "id_not" of kind "NullValue" is not supported. Use variables instead of inline arguments to overcome this limitation.
    n
    b
    • 3
    • 14
  • n

    nickw

    08/10/2017, 8:23 PM
    I’ve got a large blob of JSON (let’s say 5mb) that I’d like to associate with a record. I tried shoving it into a field on the record, but got an error that it was ā€œtoo longā€. now i dont know if thats an apollo limitation or a graph.cool limitation, but im thinking maybe I need to some how use a
    File
    instead? just not sure if I can take JSON that im getting from an API and save that as a
    File
    on graph.cool šŸ¤”
    d
    • 2
    • 2
  • g

    gojutin

    08/10/2017, 9:40 PM
    Not to try to stir up anything, but I just have to say…I went back and forth between Graphcool and another unnamed GraphQL BaaS in the beginning. Ultimately, your team’s presence and contributions in the community made it a very easy decision for me. Thank you for everything that you are doing!
    šŸš€ 2
    šŸ’Æ 3
    n
    n
    • 3
    • 4
  • m

    mel

    08/11/2017, 12:06 AM
    Is it possible to update an optional field to null after it has been set to a non null value? Getting this error when trying to do so
    The input value None was not valid for field <fieldName> of type String.
    d
    • 2
    • 5
  • b

    boulaffas1

    08/11/2017, 12:57 AM
    Copy code
    graphcool init
    ā ¦ You need to authenticate. Your browser will open shortly...
    with no web page opened
    n
    • 2
    • 1
  • b

    boulaffas1

    08/11/2017, 12:57 AM
    hi everyone & thank you for help
  • m

    mattwaldron

    08/11/2017, 1:24 AM
    Hi everyone! Still new to graph.cool…I’m trying to query an external api and it looks like the way to do this is through a function w/the request pipeline. Does this always have to be a mutation? My api call is really just a search query and it’s really just returning and processing data from the api, but it’s not exactly changing anything in the graph.cool DB so I was wondering if it’s possible to write a function that just uses a regular graphQL query instead.
    s
    • 2
    • 2
  • m

    mj

    08/11/2017, 2:04 AM
    any examples for apollo and graph cool pagination?
    d
    • 2
    • 2
  • a

    antho1404

    08/11/2017, 4:57 AM
    For information with your last modifications on the enum (and I guess more than that) you broke more than the enum but also all the permissions that access to the previous
    input_...
  • a

    antho1404

    08/11/2017, 4:58 AM
  • a

    antho1404

    08/11/2017, 4:59 AM
    just have to re-click on the variables to add again the query like
    query ($input_webhookId: ID!, $user_id: ID!) {
    but have to check all the permissions
    n
    • 2
    • 1
1...304305306...637Latest