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

    phil

    09/04/2017, 8:21 AM
    Can graph.cool accept
    RS256
    JWT from Auth0 yet?
    n
    • 2
    • 5
  • f

    freder

    09/04/2017, 1:33 PM
    so, what's up with that 200mb file size limit? is there any way to get around that? (I intend to build s.th. that is dealing with potentially large files.)
    a
    • 2
    • 1
  • b

    benoit

    09/04/2017, 1:41 PM
    Hi there, I’m stuck on something. I’m not sure if there’s a way to achieve it using the schema. Basically, I have an entity called
    Meal
    , and then I can add one or more
    Dish
    to it. It’s a n to n relationship basically.
  • b

    benoit

    09/04/2017, 1:42 PM
    I use the generated mutation to add dishes to a meal, something like:
    addToMealDishes
  • b

    benoit

    09/04/2017, 1:43 PM
    the issue is when I then fetch a
    Meal
    with its associates
    dishes
    , I can’t seem to be able to get the
    dishes
    in the order they were added
    d
    • 2
    • 2
  • b

    benoit

    09/04/2017, 1:43 PM
    I can use
    orderBy
    on the
    dishes
    but that seems to relate to the
    Dish
    entities (id, created, updated)
    d
    h
    • 3
    • 34
  • p

    proteus

    09/04/2017, 2:33 PM
    Hello. Does anyone know what database runs in the back-end?
    n
    • 2
    • 3
  • r

    rvespula

    09/04/2017, 3:24 PM
    hi guys
  • r

    rvespula

    09/04/2017, 3:25 PM
    How do I create a list type field? in the .graphcool
    d
    • 2
    • 1
  • r

    rvespula

    09/04/2017, 3:26 PM
    Is it possible to filter by the LIST field?
    d
    • 2
    • 3
  • t

    thegrimsilence

    09/04/2017, 4:42 PM
    Is the basic auth code open source somewhere? Because GraphQL auth is hard to setup 😂👨‍💻
    h
    • 2
    • 1
  • p

    proteus

    09/04/2017, 5:34 PM
    The online editor seems to discard all comments. Even commented files submitted with the cli are stripped of all comments. Why is that?
  • m

    max

    09/04/2017, 5:45 PM
    @graphcoolTeam @nilan thank you for this product. It's amazing. Is there anywhere I can post a review?
    💚 2
    n
    • 2
    • 2
  • p

    panzupa

    09/04/2017, 7:29 PM
    Hi Guys, I need an advice. I develop react + relay app. I want to display popup / overlay with a form, and this form needs to load some data from Graph.Cool via Relay. How to do it lazy? I mean I don't want to load data before someone clicks a buton which shows the form.
  • k

    kyriakosmichael

    09/04/2017, 8:51 PM
    How to trigger Rivescript as my First Middleware? I changed order in Middleware Section to be the 1st One. When i’m testing bot from Chat, it does not response to Rivescript Conversation. Any suggestion / feedback would be mostly appreciated.
  • g

    gauravkaushik

    09/05/2017, 1:24 AM
    Hi guys, I had a few queries. How can one model something like this:
    Copy code
    type User {
      friends: [User!]! @relation(name: "UserFriends")
    graphcool console gives an error
    A relation directive with a name must appear exactly 2 times.
    And the other query is related to this schema:
    Copy code
    type Photo {
      file: File @relation(name: "PhotoToFile")
    }
    
    type Song {
      file: File @relation(name: "SongToFile")
    }
    
    type File {
      contentType: String! @relation(name: "SongToFile")/@relation(name: "PhotoToFile")
    }
    Now that File is a generated type, and if I were to link these relations to File's
    contentType
    field, is it possible to specify multiple relations on the same field?
  • d

    davidepalazzo

    09/05/2017, 1:30 AM
    @gauravkaushik you need to set your relation on
    friends
    as well - check this post out https://stackoverflow.com/questions/44809470/graphcool-domain-model-design-modifiedby-attribute-giving-trouble
  • a

    agartha

    09/05/2017, 1:39 AM
    For anyone struggling with grouping, aggregation, etc., I found this client-side library that adds the majority of lodash functions to your queries. Transformations are applied client-side, so it will only get you so far, but at least you can define your queries without any additional steps: https://github.com/APIs-guru/graphql-lodash
    👍 2
    🎉 1
    d
    • 2
    • 3
  • l

    lastmjs

    09/05/2017, 1:43 AM
    If a query has multiple parts to it, and if multiple permission queries apply to it, can it return the data with the permission queries that pass even if some fail?
  • l

    lastmjs

    09/05/2017, 1:44 AM
    -.txt
  • l

    lastmjs

    09/05/2017, 1:45 AM
    For example, in the following query, can id have a permission query that fails, while course has a permission query that passes, and can the result be just the course data?
    a
    • 2
    • 10
  • b

    brandf

    09/05/2017, 3:58 AM
    I made a little tool to inline interface fields in types the implement them: https://github.com/brandf/graphql-interface-inliner Graphcool still doesn't support interfaces, but it's still useful so you don't have to manually duplicate the fields everywhere.
    👌 1
  • b

    brandf

    09/05/2017, 3:58 AM
    I'm curious if anyone knows of another tools that does this? I'm pretty new to graphql so it seemed tedious/error prone to have to manually copy every interface field into every type that implements it.
  • a

    anton-b

    09/05/2017, 7:26 AM
    Hi Graphcoolers - Lets say I have a type of
    Service
    with more than 10,000 nodes, where 5-10 nodes are related to a user. Would the query for a single User's Services take a lot longer to fetch than if there was, say a 1,000 nodes? If it does take a lot longer, what could one do to bring down that query time?
    d
    • 2
    • 1
  • p

    Pieter

    09/05/2017, 8:09 AM
    @nilan could you point me to a example of how to do a function inside graphcool to do backend logic after a mutation? I want 1 mutation to trigger another (if a condition is met)
  • p

    Pieter

    09/05/2017, 8:10 AM
    is
    graphcool-lib
    the right npm package to use?
  • p

    Pieter

    09/05/2017, 8:11 AM
    it seems to require the project ID, but I am running it inside my project so I was hoping I could just get it from there (maybe with the authtoken it has in there?) otherwise when I clone my project (for different environment) I'd need to update the code
    a
    • 2
    • 3
  • l

    lastmjs

    09/05/2017, 8:13 AM
    I've got a major issue as we're trying to push to production by morning. I've brought this up but it doesn't seem to be resolved. My cloud functions don't seem to be running in my production project. The functions are identical to their development counterparts except for their different secrets. The biggest difference between the projects is that one is in Europe and the other in Oregon. Any help?
  • l

    lastmjs

    09/05/2017, 9:04 AM
    Looking into it more...the function is running, but logs are not working
    a
    • 2
    • 2
  • p

    picosam

    09/05/2017, 9:32 AM
    Hello, is there anyway to call graphcool’s
    generateAuthToken
    from outside of a Graphcool function? I would like to use Auth0's Credentials Exchange (https://auth0.com/docs/hooks/extensibility-points/credentials-exchange) to actually embed the Graphcool token into the access token returned.
    a
    • 2
    • 51
1...329330331...637Latest