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

    coolboyjules

    10/13/2017, 12:24 AM
    or is it automatically configured ofr me?
    a
    • 2
    • 1
  • p

    peterp

    10/13/2017, 2:55 AM
    how does everyone here feel about delaying running a command (resolver) by 2 minutes using setTimeout?
    n
    • 2
    • 1
  • p

    peterp

    10/13/2017, 2:55 AM
    is there a better strategy i can take?
  • p

    peterp

    10/13/2017, 2:56 AM
    this is a contender:
    Copy code
    var waitTill = new Date(new Date().getTime() + seconds * 1000);
    while(waitTill > new Date()){}
  • n

    notrab

    10/13/2017, 6:24 AM
    One for @nilan @nikolasburk - I see you guys are using markdown files for the docs content. What’s the best approach you’ve found that displays that within the React app? Are you using any specific module and do you sync the content on the docs build process?
  • t

    timneutkens

    10/13/2017, 6:44 AM
    @notrab github.com/zeit/docs compiles markdown into react components 👌
  • m

    mimica

    10/13/2017, 6:56 AM
    hi guys, i successfully generated an authentication token using a Type other than User type and resolvers. i cant figure our however how to retrieve the authenticated type data using the auth token generated just like i would do with the type User. does anyone have an idea how to go about it ?
    n
    • 2
    • 2
  • m

    mimica

    10/13/2017, 6:56 AM
    👆 @channel
  • n

    notrab

    10/13/2017, 7:25 AM
    Cheers @timneutkens I’ll check that out!
  • i

    Ivo

    10/13/2017, 7:56 AM
    Hi guys
  • i

    Ivo

    10/13/2017, 7:56 AM
    The Graphcool CLI popup can't be closed when pressing on the X button. Pressing escape doesn't do the trick either.
  • i

    Ivo

    10/13/2017, 8:00 AM
    I even wrote on Intercom
  • i

    Ivo

    10/13/2017, 8:01 AM
    but @nilan hasn't answered yet
    n
    • 2
    • 1
  • a

    agartha

    10/13/2017, 8:31 AM
    @Ivo There's an existing GH issue for it somewhere. If I find, I'll link it
  • i

    Ivo

    10/13/2017, 8:32 AM
    @agartha thanks!
  • m

    Maslov

    10/13/2017, 8:41 AM
    Hi there, can somebody help me with this error:
    Copy code
    Argument 'authProvider' expected type 'AuthProviderSignupData!' but got: {auth0: {idToken: "ey...
  • m

    Maslov

    10/13/2017, 8:42 AM
    I trying to use auth0 an createUser
  • m

    Maslov

    10/13/2017, 8:42 AM
    it works well from playground
  • m

    Maslov

    10/13/2017, 8:42 AM
    but for some reason it throws errors from browser
  • m

    Maslov

    10/13/2017, 8:43 AM
    I doing this one
    Copy code
    mutation {
          createUser(authProvider: {
            auth0: {
              idToken: "${ idToken }"
            }
          }) {
            id
          }
        }
    Was trying with variables also - it doesn't help
    a
    • 2
    • 11
  • r

    rein

    10/13/2017, 8:55 AM
    hey guys, I was wondering, if you deleted an entity via a mutation and that entity was previously part of an array of another query. Is it better to do use the
    update
    feature and pass in an empty array manually or just refetch that query.
    a
    • 2
    • 5
  • n

    notrab

    10/13/2017, 9:40 AM
    The docs use
    @model
    in Type definitions and sometimes don’t. Is there any explanation when this is/not required? Could be confusing for newcomers.
    n
    • 2
    • 2
  • m

    Maslov

    10/13/2017, 10:12 AM
    How I can get the <authentication token> for auth0 user? Am I right that it is just simple idToken?
  • m

    Maslov

    10/13/2017, 10:14 AM
    Didn't find the docs about it
  • m

    Maslov

    10/13/2017, 10:15 AM
    found
    generateAuthToken
    method in source code of graphcool-lib, should I use it for tokens generation?
  • h

    huv1k

    10/13/2017, 10:16 AM
    Hey,
    createdAt
    and
    updatedAt
    its removed? 😮 https://www.graph.cool/docs/reference/schema/system-artifacts-uhieg2shio/#createdat-and-updatedat-fields
    d
    • 2
    • 3
  • d

    Daniel K.

    10/13/2017, 10:48 AM
    hey, I have a strange issue with
    No CONNECT permissions
    , I've already triple checked graphcool.yml and all relations have wildcard permission, without permission queries I have no idea how to find culprit for this, can someone have a look at request
    eu-west-1:simple:cj8n7fqq100000130pmoxcimy
    please?
    n
    • 2
    • 2
  • i

    iamclaytonray

    10/13/2017, 12:01 PM
    I’ve never tried this but is it possible for Apollo to consume the Relay API Endpoint/Schema from GraphCool?
    a
    • 2
    • 1
  • m

    mimica

    10/13/2017, 12:55 PM
    im getting this error in playground
    Copy code
    {
      "requestId": "eu-west-1:simple:cj8n7czap000001926jvhffay",
      "error": "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-1:simple:cj8n7czap000001926jvhffay"
    }
  • m

    mimica

    10/13/2017, 12:57 PM
    @nilan something is broken i cant access data in my graph.cool account returning 500 error
    n
    • 2
    • 1
1...370371372...637Latest