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

    Jonathan

    12/21/2017, 11:15 AM
    Hi, I am struggling to use the maligun function to send automated welcome emails with iOS and Apollo client. As soon as I try using variables it does not work. When I use the following mutation with hardcoded values, it works: mutation SendWelcomeEmail { sendMailgunEmail( tag: "TEST" from: "xxx@yyyyyy.com" to: "user@email.com" subject: "TEST" text: “THIS IS A TEST” ) { success } } let sendWelcomeEmailMutation = SendWelcomeEmailMutation() apollo.perform(mutation: sendWelcomeEmailMutation) If I try to write a mutation with variables: mutation SendWelcomeEmail($from: String!, $to: String!) { sendMailgunEmail( tag: "TEST" from: $from to: $to subject: "TEST" text: “THIS IS A TEST” ) { success } } let sendWelcomeEmailMutation = SendWelcomeEmailMutation(from: "xxx@yyyyyy.com" , to: "user@email.com") apollo.perform(mutation: sendWelcomeEmailMutation) it no longer works. Any idea? Many thanks for your continuous support. Really helpful for an inexperienced developer like me. Happy holiday season.
  • j

    Jonathan

    12/21/2017, 11:15 AM
    Already in forum under https://www.graph.cool/forum/t/using-mailgun-to-send-emails-with-variables-ios-apollo-client/1933
  • j

    Jonathan

    12/21/2017, 11:15 AM
    but has not been solved yet. Many thanks again for your help!
  • i

    ivan.kataitsev

    12/21/2017, 11:56 AM
    Hi everyone. When running
    graphcool deploy
    I'm getting an error that says
    Copy code
    Global
        ✖ For input string: "null"
    Can anyone help with what can cause that to happen? Thank you.
  • a

    art

    12/21/2017, 12:38 PM
    hi all o/
    👋 2
  • p

    playra

    12/21/2017, 1:00 PM
    message has been deleted
  • s

    Steven Sacks

    12/21/2017, 1:03 PM
    https://www.graph.cool/docs/reference/auth/authorization/permission-queries-iox3aqu0ee/`
  • s

    Steven Sacks

    12/21/2017, 1:03 PM
  • s

    Steven Sacks

    12/21/2017, 1:04 PM
  • s

    Steven Sacks

    12/21/2017, 1:04 PM
    Where is that button in the actual playground?
  • s

    Steven Sacks

    12/21/2017, 1:04 PM
    you can click the Key-icon in the top-right corner
  • s

    Steven Sacks

    12/21/2017, 1:04 PM
    There is no key icon in the top right corner
  • s

    Steven Sacks

    12/21/2017, 1:05 PM
    What do I do?
  • s

    Steven Sacks

    12/21/2017, 1:05 PM
    I definitely have services, I definitely have permission files.
  • s

    Steven Sacks

    12/21/2017, 1:05 PM
    This backend is working ON PRODUCTION
  • p

    playra

    12/21/2017, 1:05 PM
    message has been deleted
  • s

    Steven Sacks

    12/21/2017, 1:06 PM
    where is OPEN CONSOLE
    p
    • 2
    • 7
  • p

    playra

    12/21/2017, 1:06 PM
    https://www.graph.cool
  • s

    Steven Sacks

    12/21/2017, 1:07 PM
    I'm running the latest
  • s

    Steven Sacks

    12/21/2017, 1:07 PM
    I'm in my playground
  • s

    Steven Sacks

    12/21/2017, 1:07 PM
    i'm not on the production server i'm in the playground
  • r

    rajit

    12/21/2017, 1:07 PM
    I get
    Insufficient permissions
    for a subscription to DELETED mutations. The error says I don't have permission to get the
    previousValues
    field. Are there separate permission queries for subscriptions? I can't find anything in the docs
  • r

    rajit

    12/21/2017, 1:08 PM
    Or is this some kind of race condition if my permission query for reading that type depends on relations that have now been deleted?
  • s

    Steven Sacks

    12/21/2017, 1:09 PM
  • s

    Steven Sacks

    12/21/2017, 1:10 PM
    the documentation alleges that you can do this in the playground
  • s

    Steven Sacks

    12/21/2017, 1:10 PM
    but that button does not exist in my playground
  • k

    kdichev

    12/21/2017, 1:10 PM
    Hey guys I am trying to use async await in a resolver function but I get this error regeneratorRuntime is not defined even when I used 'use_latest' flag
    m
    • 2
    • 5
  • s

    Steven Sacks

    12/21/2017, 1:10 PM
    Copy code
    "graphcool-lib": "^0.1.4",
        "graphql-client": "^2.0.0",
  • s

    Steven Sacks

    12/21/2017, 1:10 PM
    Those are the latest versions
  • s

    Steven Sacks

    12/21/2017, 1:10 PM
    regeneratorRuntime sounds like a babel issue
1...479480481...637Latest