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

    mechanical-turk

    08/22/2017, 11:53 PM
    looks very promising so far
  • w

    wesbos

    08/23/2017, 12:06 AM
    are we able to do custom relationships? For example, find a list of orders for a user by their email address?
    a
    d
    +2
    • 5
    • 14
  • b

    be4r

    08/23/2017, 5:28 AM
    im running my app through google's page insights and its telling me to leverage browser caching for
    <https://api.graph.cool/simple/v1/myendpoint> (expiration not specified)
    d
    • 2
    • 4
  • h

    herdani

    08/23/2017, 7:35 AM
    Can we, in the data view in the interface, filter by a enum field type ? I have a ‘type’ enum field with as possible values ‘User’ or ‘Bot’, and I’d like to only see the records of type ‘User’. I tried with the following search strings ‘User’, ‘user’, type:User’, ‘type=user’, but nothing worked
  • n

    nguyendanhson1989

    08/23/2017, 8:08 AM
    set the channel topic: General Graphcool chat - please post questions to the Community Forum: https://www.graph.cool/forum/
  • a

    aazlant

    08/23/2017, 8:15 AM
    has anybody ported a redux project that uses immutable.js to graphcool?
  • n

    notrab

    08/23/2017, 8:34 AM
    “Whoops. Looks like an internal server error. Please contact us from the Console (https://console.graph.cool) or via email (support@graph.cool) and include your Request ID: eu-west-1simplecj6orimev008201741qvxxzia”
    👍 1
  • p

    phil

    08/23/2017, 8:38 AM
    is the https://console.graph.cool/ failing to load for anyone else?
    n
    n
    • 3
    • 7
  • s

    shanecav

    08/23/2017, 8:44 AM
    I'm getting the same error as @notrab - and my function's PAT is also being returned to the client with that error, which seems like a risk.
    n
    • 2
    • 1
  • p

    pajasevi

    08/23/2017, 11:10 AM
    Hey guys, I'm having some issues with File upload but everything worked fine until today. Is there any info? And of course I am getting CORS error which has nothing to do with it. Response header says
    X-Cache:Error from cloudfront
    ✅ 1
    n
    f
    • 3
    • 4
  • e

    eder

    08/23/2017, 2:07 PM
    what are the graphcoool costs?
    j
    • 2
    • 1
  • a

    anton-b

    08/23/2017, 2:48 PM
    I know this must be very simple but I just can't seem to figure it out: How do I pass the id to the query?
    Copy code
    export const SINGLE_LINK_QUERY = gql`
        query SingleLinkQuery($id: ID!) {
            Link(id: $id) {
              title
            }
        }
    `
    
    export default graphql(SINGLE_LINK_QUERY, { name: 'singleLinkQuery' })(Link);
    d
    • 2
    • 13
  • m

    mxming

    08/23/2017, 3:23 PM
    looks like the mutation i fired in the playground won’t trigger server side subscription. it is intended or a bug ?
    a
    • 2
    • 4
  • m

    mechanical-turk

    08/23/2017, 5:17 PM
    what’s the best practice for extending the User type? Is it more recommended to just go ahead and modify the Type, or create another type, e.g Customer?
    d
    n
    • 3
    • 4
  • m

    mechanical-turk

    08/23/2017, 5:58 PM
    is there a way to modify the default permissions? Say, instead of going through all the types and setting their create permissions to auth-only, is it possible to modify a setting so that the types are automatically created where they are completely closed to the outside world? Also, is it possible to write permission queries and share them? For example, most of the time, the permission logic of a
    delete
    and an
    update
    operation will be the same. I’d prefer not to rewrite that logic
    a
    • 2
    • 4
  • p

    peter

    08/23/2017, 6:32 PM
    is there a repo with the completed HowToGraphQL tutorials completed?
    a
    • 2
    • 2
  • f

    fandy

    08/23/2017, 7:12 PM
    When is the intercom series going to be completed?
  • f

    fandy

    08/23/2017, 7:13 PM
    I want to learn how to create a chat widget!
  • c

    cshold

    08/23/2017, 7:27 PM
    Is there a way too have a relation between two types not using the
    id
    field? I have a custom
    customerid
    that I handle and want to use that instead
  • c

    cshold

    08/23/2017, 7:32 PM
    I’m importing data from an external source and don’t have access to the
    id
    until I then request it from graph.cool
    a
    • 2
    • 3
  • a

    aazlant

    08/23/2017, 8:06 PM
    https://graphcool.slack.com/archives/C0MQJ62NL/p1503476147000053
  • g

    greatscot

    08/23/2017, 9:02 PM
    Hi all, does anyone know how to edit graphcool's auto-generated resolver functions on a given API? Or if it is even possible? Edit: From a quick dig around it doesn't seem like this is going to be possible? Seems like a schema extension would let me set up my own queries, but not necessarily edit the built in User and user queries..... For what it's worth (if my understanding on this is correct) I'd like to suggest that graphcool edit the
    User
    query to return the currently logged in user if no arguments are supplied, but the specified user if arguments are supplied. Then the
    user
    query could be discarded. I struggle to see the reasoning behind two distinct queries for these use cases - but maybe I am missing something?
    n
    • 2
    • 12
  • a

    aazlant

    08/23/2017, 10:03 PM
    failing a discussion of immutable.js, are there best practices about how to partition a client store from serialization to/from graphcool?
    d
    g
    • 3
    • 9
  • d

    dardub

    08/24/2017, 12:23 AM
    Are there docs on adding new nested related data. I didn't find exactly what I'm looking for. Say I want to add a new post to an author. There are examples, but it destroys all the existing posts. The other example assumes that the post is already created and links the two. I didn't see a way to add a new post to an Author.
    a
    • 2
    • 8
  • d

    dardub

    08/24/2017, 12:40 AM
    Tried registering to the forum and get the error:
    Copy code
    New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member.
    n
    • 2
    • 2
  • d

    dardub

    08/24/2017, 12:40 AM
    But even when VPN to my office I get the same error.
  • d

    dardub

    08/24/2017, 12:42 AM
    I'd like to do this, but without losing the existing posts: https://www.graph.cool/docs/reference/simple-api/nested-create-mutations-vaet3eengo/#updating-an-existing-author-and-connecting-it-to-multiple-new-posts
  • b

    be4r

    08/24/2017, 2:39 AM
    whats the recommended way to keep the state of authentication in graphql app? Do I just do userQuery on components that require auth or should i userQuery on the highest component and pass user down as props?
    d
    • 2
    • 2
  • b

    be4r

    08/24/2017, 2:47 AM
    currently, i have the user being sent down as props to a component where the query is computed from props
    Copy code
    graphql(getUserDecks, {
        options: ({user}) => ({variables : {userId: user.id}})
      })
    but this breaks in SSR because no props of
    user
    is being passed through so it breaks. Is there a way for me to query
    getUserDecks
    from the results of
    getUser
    ?
  • m

    mike.johnson

    08/24/2017, 4:04 AM
    any idea why I cant sign up for the forum? It says
    New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member.
    n
    • 2
    • 1
1...316317318...637Latest