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

    steveb

    11/29/2017, 5:04 PM
    yes, just a simple login request
  • s

    steveb

    11/29/2017, 5:04 PM
    the average was more like anywhere from 100ms to 500ms
  • j

    James

    11/29/2017, 5:05 PM
    Odd, I had only noticed it with large payloads coming back. I haven't done too much with graphcool yet though so I can't say for certain.
  • j

    James

    11/29/2017, 5:05 PM
    Hopefully someone with more experience can chime in! Personally I would suspect the free tier like you said though
  • v

    Vinnie

    11/29/2017, 5:34 PM
    so
    gc delete
    gives me the following message when used against a local cluster:
    Copy code
    ▸    Can't delete service in local cluster local.
     ▸    This command is only available in the hosted version of Graphcool.
    a
    • 2
    • 4
  • m

    matic

    11/29/2017, 5:58 PM
    Hey everyone, I would really appreciate you checking out this 😄 https://www.graph.cool/forum/t/using-one-query-to-query-list-with-two-types-and-merge-them-together/1756
  • s

    steveb

    11/29/2017, 6:01 PM
    I was just looking at the query docs and they mention
    accessRole
    property in a few of the queries. Is this something "built-in" to graph.cool and the
    Users
    type? If so, are there docs on it?
  • a

    aurnik

    11/29/2017, 7:26 PM
    Does anyone know how to retrieve inactive functions via the CLI?
  • j

    Julian Herrera

    11/29/2017, 8:29 PM
    Im following the auth tutorial, am I correct in noticing the tutorials use javascript while the files themselves are typescript?
    n
    • 2
    • 4
  • s

    steveb

    11/29/2017, 8:57 PM
    When using permission queries, can you put multiple and separate permission queries in one file?
  • s

    steveb

    11/29/2017, 9:17 PM
    To answer my own question, yes, you can, see the last post here: https://www.graph.cool/forum/t/multiple-permission-queries/825/11
  • m

    mimica

    11/29/2017, 10:50 PM
    @nilan how can i switch my project region . i want to switch from us-west to Ireland
  • m

    mark.james

    11/29/2017, 11:36 PM
    I’m getting continuous timeouts while trying to deploy my project. Some of the github issues around deployment seem to suggest an incremental deployment approach. But I’m unclear how this can be achieved. Does anyone have any recommendations?
  • d

    doug_w

    11/29/2017, 11:50 PM
    I have been trying to update a graphcool function all day in the console (still on legacy) but it simply times out every time I hit save… spins and spins and spins… any advice?
  • a

    Andrew Schreiber

    11/30/2017, 12:51 AM
    That happens when your code isn't valid. I'd recommend copy/pasting the function into an editor with a linter and/or Flow and seeing what errors pop up.
  • a

    Andrew Schreiber

    11/30/2017, 12:54 AM
    I'm trying to update the
    email
    and
    password
    field on a User via a mutation. However when I run the mutation in graphcool playground, i get an error saying that the
    email
    and
    password
    fields don't exist. This problem doesn't happen when I switch the field to another field on my User object. Suggestions?
  • d

    doug_w

    11/30/2017, 2:57 AM
    Thanks @Andrew Schreiber but we did write it in out editor to start out. I will take a closer look.
  • m

    Marc Qualie

    11/30/2017, 3:38 AM
    Is there a way to create extra resources when doing a single create? For example: creating default relations when the parent object is created, without the client needing to pass in the nested mutation params
    a
    • 2
    • 5
  • r

    rhishikeshj

    11/30/2017, 6:54 AM
    https://docs-next.graph.cool/docs/reference/graphql-api/query-api-nia9nushae#fetch-multiple-nodes this mentions that graph.cool follows standard rules for pluralizing. can we use this : https://github.com/blakeembrey/pluralize ?
    n
    • 2
    • 7
  • t

    Thorsten Habig

    11/30/2017, 8:05 AM
    Topic: "hooks". When i do use the generated shortcut commands for adding a relation (for example: addto{placeholderForRelationName}...is it possible to use hooks for these?
  • c

    ChinCluBi

    11/30/2017, 8:06 AM
    Hi, I sent a query to my custom resolver with successful status but a few minutes later, it’s gone. I received this error
    Copy code
    Cannot query field 'xxx' on type 'Mutation'.
    It looks like there are a lot of clusters on Graphcool server but some of them didn’t update my last commit. I tried to re-create all of them many times but the problem is still occurred. Can you please help me solve this problem?
    a
    n
    • 3
    • 2
  • a

    antho1404

    11/30/2017, 8:56 AM
    Even after multi deployment I still have my
    subscriptions.us-west-2.graph.cool
    that is not updated with my last schema (the simple api have the last schema) 😞
    👍 1
    n
    • 2
    • 5
  • a

    alexanbj

    11/30/2017, 9:07 AM
    Does anyone know of a workaround for permission queries with regards to the current time? Ref https://www.graph.cool/docs/reference/auth/authorization/permission-queries-iox3aqu0ee/#custom-variables
  • m

    Maslov

    11/30/2017, 12:51 PM
    Does it possible to work with graph.cool from file:/// protocol? If I set no-cors, fetch automatically sets Content-Type: text/plain to request header and I receive 415, with cors I receiving 405 https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Simple_requests
    Copy code
    The only allowed values for the Content-Type header are:
    application/x-www-form-urlencoded
    multipart/form-data
    text/plain
  • m

    monkeybonkey

    11/30/2017, 1:05 PM
    where in the docs is the syntax for defining enums in
    types.graphql
    ? e.g.
    status: Enum!
    • 1
    • 1
  • m

    monkeybonkey

    11/30/2017, 1:08 PM
    do I have to define it as a seperate type first like
    Copy code
    enum RGBType {
      RED: 1
      GREEN: 2
      BLUE: 3
    }
    or do I do it inline?
  • a

    Alex Webb

    11/30/2017, 1:08 PM
    I'm trying to setup a sync between Graphcool and Algolia search. This tutorial is referenced a lot but no longer appears to exist: https://graph-cool.netlify.com/docs/tutorials/algolia-auto-syncing-for-graphql-backends-aroozee9zu/ Also this shows to be outdated - not sure what needs to change here: https://github.com/graphcool/templates/tree/master/outdated/syncing/algolia Anyone have the latest/best material I can use to set this up?
    v
    • 2
    • 1
  • r

    raul

    11/30/2017, 2:12 PM
    Hi, running
    graphcool reset
    for reset my local data have problems
    Copy code
    ERROR: Cannot query field 'resetProjectData' on type 'Mutation'. (line 2, column 11):
              resetProjectData(input: {
              ^
    
    {
      "data": null,
      "errors": [
        {
          "message": "Cannot query field 'resetProjectData' on type 'Mutation'. (line 2, column 11):\n          resetProjectData(input: {\n          ^",
          "locations": [
            {
              "line": 2,
              "column": 11
            }
          ]
        }
      ],
      "status": 400
    }
    n
    • 2
    • 2
  • j

    joshua

    11/30/2017, 4:09 PM
    I’m curious what people think about AWS AppSync which was announced this week: https://aws.amazon.com/appsync/
  • j

    joshua

    11/30/2017, 4:10 PM
    I’m not sure yet if it’s as easy to setup as Graph.cool, but the permissions system, DynamoDB and Lambda integrations and sync clients are really nice.
1...451452453...637Latest