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

    nilan

    04/20/2017, 9:31 AM
    I just replied 😉
  • a

    artyom

    04/20/2017, 12:50 PM
    @hhuttunen @wirtualnapolska 🙌 welcome to graphcool 😄
  • j

    jaga_santagostino

    04/20/2017, 12:58 PM
    how you prevent
    serverless
    to upload dev dependencies in the zip?
    n
    s
    • 3
    • 4
  • r

    rockchalkwushock

    04/20/2017, 1:56 PM
    Hi I'm tryinig to understand he cursors & pagination when it comes to `relay`: So by telling the query
    first: 10
    it will only fetch the first 10 nodes and if I have passed
    first: 10 after: "cursor-10"
    when the user has scrolled through the first 10 nodes a fetch for the next 10 will happen? Is that the correct understanding of the concept? I'm a little confused and want to make sure I'm tracking what is happening.
    n
    • 2
    • 7
  • r

    ruberoid7

    04/20/2017, 2:23 PM
    list channels
  • a

    artyom

    04/20/2017, 2:31 PM
    👋 @endigo great that you’re joining us today! graphcool
  • j

    jonheslop

    04/20/2017, 2:54 PM
    Hello, I’ve been playing round with subscriptions. I hacked up your [World chat example](https://github.com/graphcool-examples/worldchat-subscriptions-example) and it works great for [UPDATED] but not for [CREATED], I get the new array back fine but instead it doesn't render the change — this is my code https://github.com/jonheslop/pizza-tracker/blob/master/src/Tracker.js#L63 any pointers would be greatly appreciated
    n
    • 2
    • 23
  • a

    artyom

    04/20/2017, 3:50 PM
    @spacejunky @maximillian whoopla, hello there! 🙌
  • a

    artyom

    04/20/2017, 4:58 PM
    @kulasace04 👋 hi, welcome to our slack!
  • m

    maximillian

    04/20/2017, 5:05 PM
    hello
  • a

    artyom

    04/20/2017, 5:14 PM
    🙌
  • s

    sven

    04/20/2017, 5:21 PM
    Hi
    a
    • 2
    • 1
  • m

    meghaphone

    04/20/2017, 5:32 PM
    if anyone is interested in having some fun and working on a side project in Berlin, I’m hosting 🥁🥁🥁 Peer Lab at SoundCloud on Sunday April 30 at 12:30 PM ☕ 👇 come one, come all 🤓 🤓 🤓 https://www.meetup.com/Peer-Lab-Berlin/events/239326259/
    🦜 3
    h
    • 2
    • 3
  • m

    meghaphone

    04/20/2017, 5:32 PM
    there will be some people working on graph.cool related projects here
  • m

    meghaphone

    04/20/2017, 5:32 PM
    for example @nilan will be coming 🙂
    graphcool 1
    👍 3
    🦜 1
    ❤️ 1
    m
    • 2
    • 2
  • h

    hvillain

    04/20/2017, 6:22 PM
    Is Algolia integration currently working? I created a small test and my documents aren't updated properly. Easy to reproduce : create an item with title "0", it is added to Algolia. Update record by adding _geoloc and check Algolia : _geoloc is still null on Algolia side. Now update title to "1" and check Algolia : _geoloc is set but title is still "0". Now update title to "2" : Algolia record title is now "1". Anyone can reproduce? I can't write queries from phone unfortunately
    n
    a
    • 3
    • 5
  • i

    ilia

    04/20/2017, 7:41 PM
  • u

    user

    04/20/2017, 7:46 PM
    @ilia commented on @ilia’s file

    https://prisma.slack.com/files/U4P75D001/F525W70EP/pasted_image_at_2017_04_20_10_41_pm.png▾

    : I used to have it before when one type was named
    viewer
    . But I renamed and all went well. I just created extra type with one-to-many relation and all seems broken now.. In playground / app -
    Whoops. Looks like an internal server error. Request ID: cj1qtpk4m5j3j0199fynmxgzr
    [really annoying, can’t continue working with required relations..]
  • r

    ragnorc

    04/20/2017, 8:39 PM
    I changed the name of a relation field and now my subscription query gives an error saying it doesn't know that field. Normal queries do not have this issue. Is that a known bug?
    h
    n
    • 3
    • 3
  • r

    ragnorc

    04/20/2017, 8:46 PM
    Changed the relation from one-to-many to many-to-many (
    author
    =>
    authors
    ), which gives me :
    Copy code
    {
      "data": null,
      "error": [
        {
          "message": "Cannot query field 'authors' on type 'Memory'. Did you mean 'author'? (line 27, column 1):\nauthors { \n^"
        }
      ]
    }
  • w

    wojtek

    04/20/2017, 8:53 PM
    http://share.wojtek.im/raDz+
  • w

    wojtek

    04/20/2017, 8:53 PM
    can anyone explain to me why this will use up to 3 operations and not just one?
    h
    • 2
    • 2
  • w

    wojtek

    04/20/2017, 8:57 PM
    looks like a bug i suppose
  • f

    fred

    04/20/2017, 10:01 PM
    Hey there, any idea how I can filter items to those which have a null relation? e.g.
    Copy code
    query {
      allDocuments(filter: { user: null }) {
        id
      }
    }
    s
    • 2
    • 3
  • u

    user

    04/20/2017, 10:09 PM
    @nilan commented on @ilia’s file

    https://prisma.slack.com/files/U4P75D001/F525W70EP/pasted_image_at_2017_04_20_10_41_pm.png▾

    : @ilia do you have a field somewhere whose name ends on
    id
    ?
  • u

    user

    04/20/2017, 10:10 PM
    @nilan commented on @ilia’s file

    https://prisma.slack.com/files/U4P75D001/F525W70EP/pasted_image_at_2017_04_20_10_41_pm.png▾

    : there might be a name clash. for a related field called
    field
    , we generate an input argument called
    fieldId
    for the update and create mutations
  • u

    user

    04/20/2017, 10:10 PM
    @nilan commented on @ilia’s file

    https://prisma.slack.com/files/U4P75D001/F525W70EP/pasted_image_at_2017_04_20_10_41_pm.png▾

    : so you can't have a related field called
    field
    and another field called
    fieldId
    on the same model
  • u

    user

    04/20/2017, 10:14 PM
    @ilia commented on @ilia’s file

    https://prisma.slack.com/files/U4P75D001/F525W70EP/pasted_image_at_2017_04_20_10_41_pm.png▾

    : @nilan indeed, I have
    supplierId
    field. removed and works. thanks. Is there any other field names limitations I should be aware of? ( besides
    viewer
    and ending with
    id
    ) ?
  • u

    user

    04/20/2017, 10:17 PM
    @nilan commented on @ilia’s file

    https://prisma.slack.com/files/U4P75D001/F525W70EP/pasted_image_at_2017_04_20_10_41_pm.png▾

    : there quite a few things. I'll hopefully get a compiled list out soon. Another thing that I can think of right now is that the model name
    Node
    doesn't work
  • u

    2tothe8th

    04/20/2017, 11:31 PM
    Are there any examples out there of using subscriptions in vanilla Javascript (i.e., no Apollo or Relay)?
    n
    • 2
    • 1
1...160161162...637Latest