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

    florian

    09/14/2017, 7:41 AM
    Hi, Is it possible to index the User database (SYSTEM) in Algolia ?
  • f

    florian

    09/14/2017, 7:41 AM
    I was able to index other tables, but it seems indexing Users doesn't work out of the box
  • f

    florian

    09/14/2017, 7:42 AM
    I'm wondering if it's because of the table being flagged as a SYSTEM table or the fact that I have 11 000 record in there
    n
    • 2
    • 2
  • m

    mulyoved

    09/14/2017, 9:08 AM
    Hi, question related to integration with Auth0, using Auth0 with phone number and pin code by SMS authentication , every time user login it get new auth token which make all other user device token invalid, so user can be login only from 1 device at a time, is there a way around this and let him login from multiple device?
    c
    a
    • 3
    • 3
  • t

    tfiwm

    09/14/2017, 1:39 PM
    Is it possible to create a nested mutation and to use the created id from the topest type as relation to the lower one?
    a
    • 2
    • 4
  • m

    McNeely

    09/14/2017, 1:58 PM
    this is listed as the slack community for questions about Chromeless, is that not correct?
    n
    n
    • 3
    • 3
  • j

    johhansantana

    09/14/2017, 2:25 PM
    hello I'm trying to import some data, it's an ecommerce, I'm trying to import the products, they have a field where they have multiple images I have an array of their ids that are stored in graph.cool but when I do
    Copy code
    const result = await client.mutate(`
      {
        createProduct(
          name: "${product.name}"
          price: ${product.price}
          regularPrice: ${product.regular_price}
          imagesIds: ${product.images}
          statusId: ${product.status}
          stockStatusId: ${product.stock_status}
          userId: ${product.user}
        ) {
          id
        }
      }
    `)
    I get
    Copy code
    GraphQL Error: Argument 'imagesIds' expected type '[ID!]' but got: cj7kjj9v9001n0168yljnge4v. Reason: '[0]' String or Int value expected (line 6, column 22):
              imagesIds: cj7kjj9v9001n0168yljnge4v
    n
    k
    • 3
    • 3
  • j

    johhansantana

    09/14/2017, 5:01 PM
    https://www.graph.cool/forum/t/you-are-referencing-a-node-that-does-not-exist-importing-array-of-ids-with-variable-not-working/914
  • m

    mwickett

    09/14/2017, 6:03 PM
    Is it possible to create or delete an enum value via a mutation? Or are they truly fixed?
  • m

    maxcan

    09/14/2017, 7:25 PM
    @mwickett i believe you would need to use the console to change the member values of an enum
  • m

    maxcan

    09/14/2017, 7:25 PM
    since you’re changing the schema
  • m

    maxcan

    09/14/2017, 7:26 PM
    On an unrelated note, is there anyway to have embedding objects besides relations between top level nodes? Something like:
    Copy code
    type Test {
      num: Float!
      text: String!
    }
    
    type TestTwo implements Node {
      tt: Test
      foo: Int
    }
  • b

    be4r

    09/14/2017, 8:09 PM
    is there a time limit to how long a websocket connection can be open to graphcool's server?
  • j

    johhansantana

    09/14/2017, 8:28 PM
    anyone knows if you can create custom graphql queries that always return the same data? somewhat like a regular REST endpoint?
    d
    • 2
    • 3
  • j

    johhansantana

    09/14/2017, 8:28 PM
    this would help big teams so they don't have to recreate the same query for mobile/web/etc
  • j

    jakethrog

    09/14/2017, 8:41 PM
    Is there a limit to the number of Fields in a GraphQL Type?
    d
    • 2
    • 2
  • m

    matty

    09/14/2017, 10:12 PM
    @johhansantana that would not be a Good Thing™ ... as the client sending which fields its using is an advantage down the line, when you're trying to understand which fields are still in use (e.g. if you want to deprecate a field, you want to know first if people are still querying for it)
    a
    j
    d
    • 4
    • 14
  • m

    matty

    09/14/2017, 10:13 PM
    what you could do instead, if you're using JS for each of your platforms, is publish a private npm package containing your prefab graphql queries... then
    yarn add
    your private package into each of the projects
  • d

    dardub

    09/14/2017, 11:39 PM
    Do people like using Apollo? I'm getting pretty frustrated with it. I feel like I'm wasting my time.
    d
    • 2
    • 5
  • d

    dardub

    09/14/2017, 11:40 PM
    I keep running into all these caveats, where I have to do something different for this particular scenario.
  • j

    johhansantana

    09/14/2017, 11:40 PM
    @dardub I have to admit, it's pretty confusing, I managed to create a boilerplate using nextjs not so long ago but if I have to recreate it again I would probably be as lost as the first time
  • p

    plarson

    09/14/2017, 11:40 PM
    how do you get access to the beta schema extensions?
  • d

    dardub

    09/14/2017, 11:42 PM
    I think redux was pretty confusing when I first started learning it, but once you have a basic idea, it seems to work. I'm not finding that the case with Apollo.
  • d

    dardub

    09/14/2017, 11:42 PM
    On the other hand graphql and graph.cool is quite awesome and I've had no issues on that side. 🙂
  • j

    johhansantana

    09/14/2017, 11:43 PM
    I have a picture where it explains redux quite simple
  • d

    dardub

    09/14/2017, 11:43 PM
    Ya. It redux is simple once you get it.
  • d

    dardub

    09/14/2017, 11:46 PM
    Part of my frustration with apollo is I've spent half the day just trying to update my store onto another page. And now it seems like I have to do this. http://dev.apollodata.com/react/initialization.html#fragment-matcher
    d
    d
    • 3
    • 9
  • d

    dardub

    09/14/2017, 11:47 PM
    This seems like a lot of ceremony and maintenence.
  • d

    doug_w

    09/14/2017, 11:49 PM
    Hang in there @dardub, when you finally get apollo and redux to work nicely together. It’s magic 💰
  • d

    dardub

    09/14/2017, 11:49 PM
    @doug_w That's the thing, I did not implement redux, and I think I am regretting that decision.
1...339340341...637Latest