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

    florian

    10/24/2017, 9:09 AM
    Hi, I'm having issues with gc deploy , it seems it is not deploying the latest version of my code and keeps on reporting the same object have changed (even if they haven't) (cli v0.8.1)
  • f

    florian

    10/24/2017, 9:11 AM
    (I have tried using the
    --force
    option but to no avail)
  • e

    examp1e

    10/24/2017, 9:18 AM
    Hey guys. Have a question:
    Copy code
    Me {
      whitelabelEnabled: true/false
    }
    Whitelabel {
      option1: '1',
      options2: '2'
    }
    I want to request Whitelabel object only if
    whitelabelEnabled
    is true. One solution is:
    Copy code
    Me {
      whitelabelEnabled: true,
      whitelabel {
        option1,
        option2
      }
    }
    and in resolver
    Copy code
    Me {
       whitelabel(root) {
         if (root.whitelabelEnabled) return new Promise()
      }
    }
    Any other options?
  • e

    examp1e

    10/24/2017, 9:19 AM
    I don’t want to include
    whitelabel
    in
    Me
    as a property in schema
  • e

    examp1e

    10/24/2017, 9:24 AM
    @kuldar http://dev.apollodata.com/tools/graphql-tools/scalars.html might help
  • m

    mikedklein

    10/24/2017, 9:43 AM
    @nilan the react dropzone link is broken https://www.graph.cool/docs/reference/graphql-api/file-management-eer4wiang0#uploading-files from that docs page, was it removed for a reason.?
  • t

    taikn

    10/24/2017, 10:14 AM
    I am trying to update relation field on a type with update permission query, but get "Insufficient permission" response, how would one do it considering: https://docs-next.graph.cool/docs/reference/auth/authorization/important-notes-aej3ne1eez Do I always have to attach some scalar field to the update mutation when updating non-scalar fields?
  • t

    timwis

    10/24/2017, 10:19 AM
    Hm, anyone recognise this error from a graphcool function?
    {"error":"Function returned invalid status code: 0. Raw body: empty.last"}
    doesn’t seem to attribute it to a source
    😿 1
  • g

    Gabriel Poama-Neagra

    10/24/2017, 10:58 AM
    Hi, using graphcool cli@next, the deploy is not working even though it did yesterday. I had
    The relation field XXX has the wrong format: [XXX!] Possible Formats: XXX, XXX!, [XXX!]!
    . Fixed those ( added required since it allows for empty array ), but now I'm getting the non descriptive `The schema is invalid: Invalid field type definition detected. Valid field type formats: Int, Int!, [Int!], [Int!]! for example.`; Did something major change ? Where is the best place to keep track of these ?
    f
    • 2
    • 1
  • d

    Discere

    10/24/2017, 11:24 AM
    Does anyone use a CMS against GraphCool? If so, what is it?
    v
    d
    • 3
    • 5
  • n

    Nico-L

    10/24/2017, 1:11 PM
    Hello, is it possible to use online IDE to work on graphcool? I tried Cloud9 but stuck to the authentification on the gc init command...
    a
    • 2
    • 3
  • l

    lewisblackwood

    10/24/2017, 1:19 PM
    hey all 👋 does anyone using subscriptions with Graphcool and Apollo ever find that the updated node doesn't reflect the new data? For example, I have a subscription of one of my models, which has a boolean field. I'm using Apollo's
    subscribeToMore
    (http://dev.apollodata.com/react/subscriptions.html#subscribe-to-more). If I repeatedly flip the boolean field in Graphcool's console and inspect the
    subscriptionData
    when the subscription is triggered, I might see that boolean field on the record go
    true
    ->
    false
    ->
    false
    ->
    false
    ->
    true
    . On the third occasion, the updated node is not reflecting the new data. In fact, the node is identical to the previous data (and if that were true, the subscription shouldn't have been triggered at all). Any idea why this happens or how to resolve it?
  • e

    Electronjoe

    10/24/2017, 1:22 PM
    Nice to see such an active slack channel! I've got a question on Auth0 and user creation. I've Integrated with Auth0 and successfully inserted my own user via the graphQL API / frontend - using the provided createUser mutation. If re-run (createUser) I get a predictable error - user already exists with this auth0 identity. Do I then need to have my web app 1) query Users and THEN only if non-existing 2) createUser? Or is there a createUserIfMissing mutation (or similar) that would make this a single step?
    • 1
    • 5
  • l

    lefevre

    10/24/2017, 1:50 PM
    Hey. Just noticed a new update on the console. Seems like the feature to pick between simple and relay is gone in the editor or has been moved?
    a
    • 2
    • 4
  • d

    Dubakov

    10/24/2017, 1:59 PM
    I am curious why you migrated from Node.js to Scala. Did you fail to maintain dynamically typed code? What was the main driver?
  • m

    mikedklein

    10/24/2017, 2:28 PM
    @Dubakov there was a podcast where they explained why was pretty good. It was on react native radio https://devchat.tv/react-native-radio/graphcool-graphql-feat-nikolas-burk
    👍 2
  • d

    Discere

    10/24/2017, 2:45 PM
    I am really struggling to find info on how to create a GraphCool user when someone signs up using Auth0 on a Vue\Nuxt app, any pointers?
    i
    • 2
    • 5
  • p

    peterp

    10/24/2017, 3:42 PM
    Our Graphcool / Apollo powered app is upcoming on Product Hunt: https://www.producthunt.com/upcoming/orchard 🙂 Couldn’t have done it so fast without the help of all of you! ❤️
    💯 3
    🚀 3
    👍 7
    a
    p
    n
    • 4
    • 6
  • r

    rcy

    10/24/2017, 3:45 PM
    What is the status of the templates in the
    outdated
    directory here https://github.com/graphcool/templates/tree/master/outdated ? I want to migrate my console project to a service but I'm currently block because I'm using the auth0 integration
    n
    • 2
    • 2
  • z

    zebapy

    10/24/2017, 4:54 PM
    Trying to deploy types and it says now that relations need to be in format of
    MyType
    ,
    MyType!
    , or
    [MyType!]!
    whereas
    [MyType!]
    was allowed before. Does this now mean there must always be objects within this because of the array being required?
    a
    n
    • 3
    • 3
  • b

    babak

    10/24/2017, 5:05 PM
    Do the GraphCool Subscription Functions bare any resemblance to the GraphQL realtime Subscriptions?
    n
    • 2
    • 2
  • w

    wenzel

    10/24/2017, 5:16 PM
    hi !
  • w

    wenzel

    10/24/2017, 5:17 PM
    i'm trying to use the
    graphcool
    command line tool here, but i cannot authenticate
  • w

    wenzel

    10/24/2017, 5:18 PM
    my browser is not opening the url
    i
    a
    • 3
    • 29
  • j

    Josh

    10/24/2017, 5:21 PM
    A lot of the graph.cool website seems to be having trouble right now... in particular, every link on https://www.graph.cool/docs/faq/ goes into a redirect loop.
  • j

    Josh

    10/24/2017, 5:27 PM
    And https://docs-next.graph.cool/docs/faq/ is broken too... every link redirects to https://docs-next.graph.cool/docs/
  • j

    Josh

    10/24/2017, 5:32 PM
    (The second problem is because the links on the /docs/faq page all point to docs-next.graph.cool/docs/faq/foo, when the real url of the target pages is docs-next.graph.cool/faq/foo )
    n
    • 2
    • 2
  • p

    patstrz

    10/24/2017, 6:23 PM
    Hi all, are integrations not available if you are deploying from the new cli? I want to use Auth0 and Algolia but I don’t see how I can use them without using a web client deployed project.
    r
    • 2
    • 3
  • r

    rein

    10/24/2017, 6:39 PM
    hi everyone, I noticed that cascading deletions are not available yet, is there a possible intermediate solution?
  • d

    Digital_eye

    10/24/2017, 7:05 PM
    What is the best source to learn a simple basic relay classic example?
    i
    • 2
    • 2
1...390391392...637Latest