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

    Maslov

    11/13/2017, 1:14 PM
    does it possible to user to have same db for native app auth (auth0) and web auth?
  • r

    rein

    11/13/2017, 1:32 PM
    Hey guys, I was wondering. If I have a post and user, what is the best way to check if a user liked a certain post? Right now I have a likes entity and I query on it to find if a like with the combination of user and post exists but I'm not sure if that is a good approach. Maybe there is a simpler way?
    m
    • 2
    • 29
  • d

    daniele

    11/13/2017, 1:48 PM
    Hi @nilan the code honestly was not necessary... Is more a problem to understand when to use functions or not...I read a lot around but still I don't understand
    i
    • 2
    • 1
  • m

    Maslov

    11/13/2017, 2:03 PM
    What should the correct idToken from auth0 contain?
    Copy code
    The provided idToken is invalid. Please see <https://auth0.com/docs/tokens/id_token> for how to obtain…
  • m

    Maslov

    11/13/2017, 2:05 PM
    Oh, I see, seems auth0 forces RS256
  • b

    bexhoward1

    11/13/2017, 2:29 PM
    How do I deploy from another machine? Ive used the same login and logged in with the token from the 'authentication' tab in the console but I get an error saying the service name already exists when i try to deploy
    n
    • 2
    • 1
  • d

    Dino Scheidt

    11/13/2017, 2:32 PM
    I wanted to ask when ‘interfaces‘ will be available on graph.cool? Right now, that is the only reason why we are holding off.
    n
    • 2
    • 1
  • p

    peterp

    11/13/2017, 3:44 PM
    Is there an issue with schema extensions and enums? https://www.graph.cool/forum/t/schema-extension-error-for-function-relations-are-currently-not-supported-enum/1588
  • p

    peterp

    11/13/2017, 3:44 PM
    If I set my payload type to an enum, it yells at me 😢
  • s

    senorcodecat

    11/13/2017, 3:46 PM
    Any use a CMS with graphcool integration? Looking to find one for video and document management.
  • s

    senorcodecat

    11/13/2017, 3:46 PM
    Thinking maybe headless is the route to go
    v
    b
    +2
    • 5
    • 36
  • v

    viktor_soroka

    11/13/2017, 3:57 PM
    Is there is a way to make a field (e.g title) in a model unique but only in case of the same parent model? user -> documents -> document { id, title: string @isUnique } So one user could have document with unique title.
    a
    • 2
    • 4
  • k

    komondor

    11/13/2017, 3:59 PM
    did someone try to convert the docker-compose.yml to a kubernetes deployment ?
    a
    • 2
    • 2
  • c

    chris.parjaszewski

    11/13/2017, 4:48 PM
    dummy question - can I code graph.cool in Python or it’s node.js only?
    v
    a
    b
    • 4
    • 6
  • r

    Rippo

    11/13/2017, 4:49 PM
    @Rippo pinned a message to this channel.
  • b

    brad.barnes

    11/13/2017, 9:31 PM
    Can the graphcool-lib fromEvent function take variables? I'm having trouble getting it to work with a mutation back to the crud api.
    a
    • 2
    • 3
  • a

    Andrei Canta

    11/13/2017, 10:05 PM
    do you guys see the permissions button in your playground? it doesn't show up when I run GraphCool Framework on my local machine
    k
    n
    • 3
    • 6
  • f

    Fitch

    11/13/2017, 10:17 PM
    anyone know what chromeless's equivalent of .url(function(link) { is?
    i
    • 2
    • 12
  • p

    peterp

    11/13/2017, 11:43 PM
    In terms of environment variables, is this wrong?
    Copy code
    custom:
      dev:
        APP_ENV: "development"
    functions:
      processActiveContact:
        handler:
          code:
            src: ./src/processActiveContact.js
        environment:
          APP_ENV: ${self:custom.${opt:target}.APP_ENV}
        type: subscription
        query: ./src/processActiveContact.graphql
    a
    s
    • 3
    • 7
  • d

    donald

    11/14/2017, 1:00 AM
    Hi everyone. I've been debugging an issue with a server side subscription that didn't appear to be firing, because there were no logs for it using the cli or the console. However... I dug deeper and it appears to be running (because I'm seeing the expected results from it in my app), but not generating any logs. Is this a known issue?
  • m

    MoonTahoe

    11/14/2017, 1:46 AM
    Hello, I am trying to take the tutorials on https://www.howtographql.com, but they seem outdated. Specifically, the graphcool CLI seems to have changed and I’m having problems with the ApolloClient and the createNetworkInterface Object not being a function. Can anyone recommend a recent tutorial on how to build an app with Graphcool and Apollo with React?
  • m

    matty

    11/14/2017, 1:53 AM
    anyone remember how to disable the algolia integration - for upgrading a project to the framework?
    a
    • 2
    • 4
  • m

    matty

    11/14/2017, 1:53 AM
    I had previously posted the GraphQL mutation in a github thread but its no longer found... https://github.com/graphcool/console/issues/1295
  • m

    matty

    11/14/2017, 2:45 AM
    do you still need to "use latest" at top of graphcool functions?
    a
    • 2
    • 1
  • d

    donedgardo

    11/14/2017, 5:19 AM
    How do I use the new framework and the File Management? eg.
    Copy code
    type Post @model {
      id: ID! @isUnique
      title: String!
      image: File #???? 
    }
    Do I have to create the File Type?
    👍 1
    a
    • 2
    • 2
  • d

    donedgardo

    11/14/2017, 5:26 AM
    and use the grapchool images api ? to populate my data?
  • p

    paulquappe

    11/14/2017, 7:23 AM
    @MoonTahoe i also think its outdated, i found a good course here https://www.udemy.com/graphql-with-react-course/learn/v4/content .check out this repo, https://github.com/janpauldahlke/graphQL/blob/master/auth_from_scratch/client/index.js i also had trouble with createnetworkInterface. was using apollo 0.8.2
    👍 1
  • j

    janstuff

    11/14/2017, 9:59 AM
    Very basic question 😬 if I use the auth0 extension the user data is stored with auth0 and the rest of my data would be in the graph.cool-managed backend?
  • r

    rein

    11/14/2017, 11:25 AM
    hi everyone, I saw that context is now available in graphcool. I was wondering if that could somehow be used to, without extra logic, check if a logged in user liked a specific post for example
  • m

    Maslov

    11/14/2017, 11:35 AM
    Is there any documentation how to create my own authentication with graph.cool?
1...425426427...637Latest