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

    joar

    11/08/2017, 2:30 PM
    Are you sure youre using the httpLink @Miezan?
  • m

    Miezan

    11/08/2017, 2:30 PM
    yes i am
  • m

    Miezan

    11/08/2017, 2:33 PM
    imported thru the apollo-client-preset @joar - it shouldn’t make any difference tho
  • s

    steveb

    11/08/2017, 2:34 PM
    as a graphcool user, do we have direct access to the Aurora db so we can run SQL queries as needed?
    n
    • 2
    • 7
  • n

    nilan

    11/08/2017, 2:58 PM
    Hey <!here>, version 0.9 of the Graphcool Framework has just been released 🎉 You can get it by running
    npm install -g graphcool
    . Besides bug fixes and general improvements, this release comes with a cleanup of the docker image as well as with experimental support for Docker Toolbox. Read the full release notes here https://github.com/graphcool/framework/releases/tag/0.9 📝
    💥 6
    🦜 27
    💚 5
    parrotwave2 9
    parrotwave3 9
    graphcool 16
    👍 6
    parrotwave5 9
    parrotwave6 9
    parrotwave7 9
    😻 3
    parrotwave4 9
    parrotwave1 11
    n
    • 2
    • 4
  • v

    Vinnie

    11/08/2017, 2:58 PM
    Cool stuff, thanks @nilan
    💚 3
  • g

    go4cas

    11/08/2017, 3:14 PM
    @nilan... will the framework work with an existing DB, e.g. PostgreSQL?
  • v

    Vinnie

    11/08/2017, 3:20 PM
    @nilan You guys should update the message you get in the project’s settings — graphcool@next still brings down 0.8.1
    👍 2
  • g

    glen

    11/08/2017, 3:34 PM
    Hey guys, I’m seeing the following errors from the console when loading data
  • s

    steveb

    11/08/2017, 4:01 PM
    schema design question: say I have a type/model called
    Game
    , and I have a property on it called
    Similar
    which I want to be an array of other `Game`s that are similar. How do I set up that self-referencing relationship? When I add it as a 1 to many relationship, it automatically recreates my
    Similar
    prop to 2 new props called:
    games1
    and
    games2
    m
    s
    • 3
    • 22
  • l

    lolbet

    11/08/2017, 4:13 PM
    How can I find an error? I have a promise with
    .catch(e => {return { errors: e }}
    at the end, but this doesn't show any errors. I just got
    { data: { myFunction: null } }
    . I can't make
    console.log
    statements, because I can't see it. Docker container with Graphcool server gave me
    error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value
    What is the way to catch and see errors? I can't code without debugging
    n
    • 2
    • 3
  • t

    Tavo

    11/08/2017, 4:37 PM
    Why is “graphcool diff” a response in the CLI when diff isn’t even a command or am I missing something?
    🤔 2
    👍 1
    n
    • 2
    • 1
  • v

    Vinnie

    11/08/2017, 4:49 PM
    @nilan I’ve upgraded to 0.9 on the local, but all requests locally now come back with “code”: 5000, “message”: “A function returned an unhandled error. Please check the logs for executionId ‘localsimplecj9r968xn005s0149ge8ctwrx’”
    a
    • 2
    • 5
  • m

    Mike Gallagher

    11/08/2017, 4:50 PM
    I’m having the same issue as @Vinnie, just on that “hello” function that comes with
    graphcool init
    n
    • 2
    • 1
  • v

    Vinnie

    11/08/2017, 4:55 PM
    Yeah, I am reverting back
  • v

    Vinnie

    11/08/2017, 4:55 PM
    The website still shows 0.8.2 as the stable anyway, so
  • v

    Vinnie

    11/08/2017, 4:55 PM
    (that’s why my stuff still works there, but no longer locally :D)
  • s

    steveb

    11/08/2017, 5:02 PM
    are there any docs on
    updateOrCreate
    mutations?
  • p

    philip

    11/08/2017, 5:24 PM
    How do you add outdated templates like https://github.com/graphcool/templates/tree/master/outdated/auth/linkedin-authentication. docs seem a little unclear.
    graphcool init --schema linkedin-authentication.graphql
    gives me an error on a new project
    n
    • 2
    • 2
  • s

    steveb

    11/08/2017, 5:27 PM
    how do you create a node when its only properties are
    id
    and a relationship to another type?
    a
    • 2
    • 2
  • m

    Mike Gallagher

    11/08/2017, 6:28 PM
    Hey what’s the URL pattern for file uploads on a local cluster? The doc examples are all
    <https://api.graph.cool/file/v1/__PROJECT_ID__>
    . I’ve tried
    <http://localhost:60000/file/v1/__PROJECT_ID__>
    (and without ‘v1’) but it looks like it doesn’t accept POST
    n
    • 2
    • 2
  • o

    orr

    11/08/2017, 6:54 PM
    Hey guys, when using Relay Modern with GraphCool, is it possible to retrieve a
    schema.graphql
    file required by the relay compiler? Graphcool's
    quickstart-with-relay-modern
    tutorial has this file already created when you clone the tutorial repo, and the tutorial doesn't discuss how to update
    schema.graphql
    after deploying changes to
    types.graphql
    .
    n
    a
    • 3
    • 2
  • j

    jsleeuw

    11/08/2017, 6:56 PM
    Let’s say I have a
    favoriteColors
    field with an array of strings
  • j

    jsleeuw

    11/08/2017, 6:56 PM
    can I filter on all of the records that contain “Blue”?
    a
    • 2
    • 2
  • d

    dvanderbeek

    11/08/2017, 7:32 PM
    Does anyone here know at a high level how the database layer works? Specifically, does graphcool create actual tables in the underlying SQL database, is the data stored in a JSON document, does it use an EAV pattern, or something else entirely?
    a
    • 2
    • 2
  • a

    agartha

    11/08/2017, 7:55 PM
    @nilan Local cluster function invocation seems broken on 0.9 on all OS-es. Is that already confirmed?
  • d

    dpetrick

    11/08/2017, 8:39 PM
    There should be a new 0.9.0 image, please try
    graphcool local pull
    and running functions again.
    👍🏻 1
  • v

    Vinnie

    11/08/2017, 8:52 PM
    @dpetrick is right — pulling did the trick
  • v

    Vinnie

    11/08/2017, 8:52 PM
    even though local up gave the impression of bringing the new image down anyway
  • d

    dpetrick

    11/08/2017, 8:54 PM
    To clarify, I re-released the image with a fix. Normally you don't need to pull explicitly.
1...416417418...637Latest