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

    innerdaze

    06/09/2017, 1:07 PM
    My country has just committed political suicide - can anyone give me a resolution for that? 😞
    k
    • 2
    • 1
  • j

    joar

    06/09/2017, 1:16 PM
    Have you tried relay modern @innerdaze? I heard it does static query analysis and political suicide rollbacks
    πŸ˜… 2
    i
    • 2
    • 1
  • j

    joar

    06/09/2017, 1:17 PM
    btw does anyone know if you can set up gql subscriptions for the
    user { }
    ?
    n
    • 2
    • 4
  • a

    agartha

    06/09/2017, 1:18 PM
    I'm trying a simple file upload request with Postman. The request is generates is this (with the actual project id of course). It doesn't matter what file I select, I always get a 415 Unsupported Media Type error back. What's wrong?
    -.js
  • n

    nilan

    06/09/2017, 1:19 PM
    @agartha replace
    simple
    with
    file
    in the API URL πŸ™‚
    a
    • 2
    • 1
  • p

    pier

    06/09/2017, 1:20 PM
    hey guyss, hope you are all doing great this day
  • p

    pier

    06/09/2017, 1:20 PM
    I have a couple of questions
  • p

    pier

    06/09/2017, 1:24 PM
    How can I do polymorphic relationships? Say I have a
    Product
    type. And then I have
    Book
    ,
    Toy
    ,
    Food
    , etc, and I need to associate those with
    Product
    .
    n
    • 2
    • 25
  • p

    pier

    06/09/2017, 1:25 PM
    Finally, if I have a JSON field can I query it with GraphQL?
    • 1
    • 2
  • p

    pier

    06/09/2017, 1:30 PM
    Another one: what's the proper way of having dev/production environments?
    n
    • 2
    • 2
  • l

    lastmjs

    06/09/2017, 1:52 PM
    I know there are plans to allow more npm modules in cloud functions, but are there plans to use a more recent version of Node?
    n
    • 2
    • 3
  • l

    lastmjs

    06/09/2017, 1:54 PM
    @joar Yes you can, at least I know you can from within cloud functions
  • d

    dk0r

    06/09/2017, 2:32 PM
    @nilan, what priority does supporting union types have? https://github.com/graphcool/feature-requests/issues/165
  • a

    agartha

    06/09/2017, 2:48 PM
    I'm receiving this error when doing a server-side file upload. Is this error coming from Graphcool?
    -.js
  • n

    nilan

    06/09/2017, 3:41 PM
    @agartha it looks like your function throws a compile error, can you share it in a PM?
  • c

    chris08002

    06/09/2017, 4:28 PM
    Hi, trying to do first push after some changes, but I get this message: Whoops. Looks like an internal server error. Please contact us in Slack (https://slack.graph.cool) and send us your Request ID: cj3q2aah9kal101481ndbzxlf
  • c

    chris08002

    06/09/2017, 4:29 PM
    Here are all the local changes: | (*) The type
    Appointment
    is updated. β”œβ”€β”€ (+) A new field with the name
    archivedAt
    and type
    DateTime
    is created. β”œβ”€β”€ (+) A new field with the name
    alert
    and type
    Boolean
    is created. β”œβ”€β”€ (+) A new field with the name
    allDay
    and type
    Boolean
    is created. β”œβ”€β”€ (+) A new field with the name
    endDate
    and type
    DateTime
    is created. β”œβ”€β”€ (+) A new field with the name
    subject
    and type
    String!
    is created. β”œβ”€β”€ (*) The field
    dateInit
    is updated.
    n
    • 2
    • 3
  • l

    lastmjs

    06/09/2017, 5:05 PM
    In the GUI data editor, it would help for testing things quickly in development if I could create records that have required foreign relations. The relation always says that it should be added later. I would like to be able to put an id in there or select from a list of foreign entities so that I could quickly create the record anyway
    n
    • 2
    • 1
  • y

    yahya

    06/09/2017, 5:33 PM
    Hey there everyone-- I was just wondering if it's possible in graphql to have a field (like a currency that is a string) and have it resolve to an object? I'd like to have something like '10USD' resolve to
    { currency: 'USD', amount: 10.00 }
  • y

    yahya

    06/09/2017, 5:33 PM
    whenever I set the type to another object it doesn't allow me to because it can't call the interator functions (like each) on a string
  • d

    dk0r

    06/09/2017, 6:27 PM
    Anyone have time to talk me through getting started on my first graph schema? I'm moderately well read on the topic but am looking for practical guidance getting started and avoiding pitfalls..
  • d

    doug_w

    06/09/2017, 6:31 PM
    @dk0r I found that it is so easy to define schemas and add data that I initially just took the trial and error approach until I got it right.
  • d

    doug_w

    06/09/2017, 6:31 PM
    Happy to chat about it though
  • d

    doug_w

    06/09/2017, 6:32 PM
    Def get used to using the sandbox to query and mutate as soon as possible
    d
    • 2
    • 56
  • s

    steven

    06/09/2017, 7:00 PM
    how do you delete a project in the console
  • s

    stephenhandley

    06/09/2017, 7:12 PM
    Can someone explain why i’m getting
    "Cannot query field 'someUserExists' on type 'Query'.
    when trying either
    someUserExists
    or
    SomeUserExists
    (docs are inconsistent wrt leading capital)? I’m following this tutorial and assumed since there’s a default user schema that this filter would exist
    Copy code
    query {
      someUserExists(filter: {
        id: "abcdefg"
      })
    }
    n
    • 2
    • 16
  • a

    agartha

    06/09/2017, 7:24 PM
    I get the impression that permission queries run before transform_argument, is that correct?
    n
    • 2
    • 4
  • a

    agartha

    06/09/2017, 7:44 PM
    Is it possible to add api-bugs to #issues ?
  • n

    nilan

    06/09/2017, 7:46 PM
    Good point @agartha! That's a great idea.
    πŸ‘πŸ» 1
  • d

    dk0r

    06/09/2017, 7:56 PM
    Hey, @nilan. When are you planning to host the next webinar? Do you plan to run it similar to the others on youtube where it's basically just you and a 'student'? If so, do you have 'student' lined up yet?
    n
    a
    • 3
    • 36
1...223224225...637Latest