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

    jshort

    05/22/2017, 8:10 PM
    Is there a link to what npm packages are actually supporting by functions? It seems I can't use uuid, auth0 or other fairly common ones.
    n
    • 2
    • 5
  • j

    jshort

    05/22/2017, 8:11 PM
    Copy code
    // Click "EXAMPLE EVENT" to see whats in `event`
    var uuidV4 = require('uuid/v4');
    
    module.exports = function(event) {
      console.log(uuidV4());
    };
  • j

    jshort

    05/22/2017, 8:11 PM
    Compilation failed: Cannot find module 'uuid/v4'
  • c

    changalberto

    05/22/2017, 9:26 PM
    Does Graphcool send an email to users after they register for an account using the email-password authincation provider?
    n
    • 2
    • 1
  • v

    vgrafe

    05/22/2017, 9:33 PM
    In the same vein - is there any mutation to update an existing user’s password?
    n
    • 2
    • 1
  • v

    vgrafe

    05/22/2017, 9:34 PM
    @changalberto I think you need to use a mutation callback and call a third party to send an email (webtask/mailgun in the docs https://www.graph.cool/docs/tutorials/quickstart-3-saigai7cha/)
  • c

    changalberto

    05/22/2017, 9:38 PM
    ah... this should be an integrated service like firebase
    n
    • 2
    • 1
  • c

    changalberto

    05/22/2017, 9:38 PM
    https://firebase.google.com/docs/auth/custom-email-handler
  • c

    changalberto

    05/22/2017, 9:40 PM
    Thanks
  • p

    peterp

    05/22/2017, 11:02 PM
    👋
    n
    • 2
    • 1
  • p

    peterp

    05/22/2017, 11:02 PM
    excited to give this a shot!
  • c

    changalberto

    05/22/2017, 11:05 PM
    Anyone know how to create an observable of string? (in javascript or typescript)
  • c

    changalberto

    05/22/2017, 11:06 PM
    Doing
    this.user$ = Observable.of(null);
    and then
    this.user$.next(this.userId);
    and it says next does not exisit
  • c

    changalberto

    05/22/2017, 11:07 PM
    public user$: Observable<string>;
  • k

    kenyk

    05/22/2017, 11:35 PM
    Please example with slack webhook 🙂
    n
    • 2
    • 1
  • e

    en_js

    05/23/2017, 12:04 AM
    Is there an easy way to get the Relay-compatible schema.graphql (IDL) out of graphql.cool UI?
    n
    • 2
    • 3
  • j

    jshort

    05/23/2017, 3:31 AM
    It seems that the new functions do not trigger on
    UPDATED
    for relationships.
    n
    • 2
    • 1
  • j

    jshort

    05/23/2017, 3:31 AM
    Is this the case?
  • b

    be4r

    05/23/2017, 4:50 AM
    hello, I am moving to graphcool from firebase for my react/redux app. A lot of the examples I have seen with apollo client seems to omit redux and just query the graphql server directly in the components. Wondering if it is overkill to have redux in my application now since I am looking to use apollo/graphcool
    n
    n
    • 3
    • 2
  • a

    aditya.n

    05/23/2017, 7:08 AM
    Just starting to learn graphQL, as excited as I was for react
  • a

    aditya.n

    05/23/2017, 7:10 AM
    So any suggestions, which client should I go for, relay or apollo ??
    n
    n
    • 3
    • 3
  • r

    rane

    05/23/2017, 9:13 AM
    Bug: Cancel -button not work in "New Function" -modal.
    n
    • 2
    • 3
  • r

    rane

    05/23/2017, 9:14 AM
    Is it possible mange functions in local? Some kind of push/pull system?
    n
    • 2
    • 2
  • s

    sdubois

    05/23/2017, 10:32 AM
    hi! I'd like to add a collaborator to my team, how do I do that? He authenticated with github so he's not associated with an email address, but email is required to add the team member Thanks 🙂
    n
    • 2
    • 3
  • p

    ppatidar

    05/23/2017, 11:26 AM
    @nilan, I want to call external api before the save in model In the api call response i will get one token i want to add this token in data and save this token with create data I know we have Function for this which point (TRANSFORM _ARGUMENT, PRE_WRITE) i should call api ????
    n
    • 2
    • 32
  • b

    brad.barnes

    05/23/2017, 11:49 AM
    -In Server-side Subscription: When a relation is broken is no subscription is triggered. So is there any way to get "previous data" of the node that did fire (and broke the relation) => then use that data to find the past relation for logic on the other node? Maybe I could take the logic back to clean up the node that did not fire on the server-side subscription? I know delete returns previous data. Maybe there is a built in prev field on all nodes? -Thanks
    n
    • 2
    • 13
  • t

    tfiwm

    05/23/2017, 12:46 PM
    hi 😉 i have problems with permission queries
  • t

    tfiwm

    05/23/2017, 12:47 PM
    i receive evertime this message:
  • t

    tfiwm

    05/23/2017, 12:47 PM
    Permission Query is invalid. Could not be parsed. Error Message: Syntax error while parsing GraphQL query. Invalid input \"query ($user_id: ID) q\", expected OperationDefinition, FragmentDefinition or TypeSystemDefinition (line 1, column 1):\nquery ($user_id: ID) query deleteUserOnlyAllowed ($user_id: ID!) {\n^
    n
    • 2
    • 7
  • d

    derbingle

    05/23/2017, 1:29 PM
    I know this is a small/unimportant request in relation to many others, but it would be so nice to have the menu on the left in the console remember it’s previous state when we return to the console. Working on a 13" MBP, I end up clicking the little collapse arrow like a hundred times a day! 🙂
    n
    • 2
    • 10
1...200201202...637Latest