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

    amirtgm

    10/15/2016, 5:16 AM
    Could I get an invite code please? ๐Ÿ–๏ธ
    ๐Ÿ‘ 1
  • m

    mruzekw

    10/16/2016, 8:19 AM
    Is it possible to integrate third-party apis with Graph.cool? Iโ€™m looking to integrate a product info api
  • s

    schickling

    10/16/2016, 9:37 AM
    Hey @mruzekw! Very good point, that's actually one of the biggest features we've planned for the future. At the moment we're managing something like that using Actions. I'll reach out to you via PM to hear more about your use case.
  • m

    mikhaylk

    10/17/2016, 8:47 PM
    @schickling could I get invite code to GraphCool as well?
  • d

    derekforest

    10/18/2016, 2:15 AM
    I'm trying to create a model where a user can follow many users and vice versa. So this should be a many to many relationship right? Everytime i try that i'm getting an error. Any ideas? Thanks!
  • r

    redcom

    10/18/2016, 6:38 AM
    @derekforest: the relationship is 1 user following many users. And that user is followed by many other users. So you can try 1 to many 1 post has many Authors which can write many comments . Many to many I see it in authors<->comments and 1 to many in post->authors.
  • p

    pedro.gutierrez

    10/18/2016, 10:06 AM
    Hi guys, one question: can I get with one query the last elements updated?
  • p

    pedro.gutierrez

    10/18/2016, 10:06 AM
    for example:
    Copy code
    query getAllStatus {
      allStatuses(filter: {updatedAt_gte: [NOW - 5 min]}) {
        id
        status
        updatedAt
      }
    }
  • t

    tim2

    10/18/2016, 10:25 AM
    @pedro.gutierrez That Feature is currently not supported, but definitely something we will work on in the next couple of weeks. To speed it up, could you create an issue at https://github.com/graphcool/feature-requests and describe your use-case? Thanks!
  • u

    ullrich

    10/18/2016, 12:47 PM
    Quick relay question. I have a CLI tool I use to import my data into graph.cool. Iโ€™m able to reuse my apps mutations by using Relay.Store.commitUpdate. Is there a similar way to create simple queries without having react? Or should I just use fetch?
  • u

    ullrich

    10/18/2016, 12:48 PM
    Iโ€™m basically trying to build a update or create mechanism. I could also try an update mutation and if that fails do a create mutation.
  • n

    nilan

    10/18/2016, 1:40 PM
    if it's a CLI tool I guess you don't really make use of Relay's local cache anyway? for your use case I think a simpler client like lokka is better suited. You can use it with the Graphcool Simple API (or the Relay API if you want to)
  • n

    nilan

    10/18/2016, 1:47 PM
    an
    upsert
    mutation would be also nice to have for use cases like yours. you can create a new issue here if you want to: https://github.com/graphcool/feature-requests/issues
    ๐Ÿ™ 1
  • u

    ullrich

    10/18/2016, 1:52 PM
    Thanks for the lokka tip. I think Iโ€™ll reuse the relay mutations, but use lokka to look up if my object already exists.
  • n

    nilan

    10/18/2016, 1:59 PM
    yea that works! ๐Ÿ‘
  • u

    ullrich

    10/18/2016, 2:09 PM
    ^^ https://github.com/graphcool/feature-requests/issues/25
    ๐Ÿ‘ 1
  • n

    nilan

    10/18/2016, 2:19 PM
    awesome, thanks!
  • r

    redcom

    10/18/2016, 3:45 PM
    @ullrich: you can also experiment with https://github.com/ConciergeAuctions/relay-cache-manager in case you want a persistent cache layer
  • d

    dgreane

    10/18/2016, 6:52 PM
    Awesome talk @ the react meetup ๐Ÿ™‚ How do I go about grabbing some early access?
  • d

    derekforest

    10/18/2016, 8:56 PM
    @redcom I'll try that. Thanks!
  • m

    Matt Mueller (Prisma Client PM)

    10/19/2016, 4:50 AM
    are people still using lokka?
  • m

    Matt Mueller (Prisma Client PM)

    10/19/2016, 4:51 AM
    apollo client is 1.5mb (uncompressed)...
  • m

    Matt Mueller (Prisma Client PM)

    10/19/2016, 4:52 AM
    and relay seems to be doing a major re-write
  • s

    sashko

    10/19/2016, 6:55 AM
    why does the uncompressed size matter?
  • s

    sashko

    10/19/2016, 6:55 AM
    also, it's like 40kb compressed
  • s

    sashko

    10/19/2016, 6:55 AM
    so I'm not sure what 1.5mb is measuring
  • s

    sashko

    10/19/2016, 6:55 AM
    @Matt Mueller (Prisma Client PM) ^
  • m

    Matt Mueller (Prisma Client PM)

    10/19/2016, 7:00 AM
    @sashko oh cool, there's apollo devs in here ๐Ÿ™‚ oh okay โ€“ย that's not too bad
  • m

    Matt Mueller (Prisma Client PM)

    10/19/2016, 7:01 AM
    i was perusing your docs today and i wasn't able to find a "Vanilla JS" implementation
  • m

    Matt Mueller (Prisma Client PM)

    10/19/2016, 7:01 AM
    am i missing it here?
1...262728...637Latest