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

    tfiwm

    11/16/2017, 2:49 PM
    Can somebody help me with environments in graphcool?
  • t

    tfiwm

    11/16/2017, 2:49 PM
    i know how to deploy different targets
  • t

    tfiwm

    11/16/2017, 2:49 PM
    but i have no idea how to handle env data in the yaml file
  • j

    John Livingston

    11/16/2017, 3:22 PM
    I posted something 15 hours ago, but never got a response. No emergency on my part as I'm just comparing a few services. (I'm on Firebase now.) Might be worth removing if it isn't used.
  • j

    John Livingston

    11/16/2017, 3:28 PM
    BTW: I figured out that saving in the console is very intermittent. I can click on the table and change a value, but there is nothing to tell me anything persisted and have to refresh the page to see if it did. I did open my console and saw the following error.
  • j

    Jahagirdar

    11/16/2017, 4:07 PM
    Unable to run projects on local docker deployment. Its unable to resolve the resolver functions. It works well on the cloud.
  • j

    Jahagirdar

    11/16/2017, 4:07 PM
    any idea what could be going on
    n
    • 2
    • 7
  • v

    Vinnie

    11/16/2017, 4:35 PM
    Anyone using a Mac as dev environment?
  • v

    Vinnie

    11/16/2017, 4:37 PM
    Wanted to try using my Mac natively rather than my usual Linux VM β€” I get this when
    gc local up
    Copy code
    docker   Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.
    No idea where to turn. Running the command suggested yields this:
    Copy code
    Docker machine "default" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
    a
    • 2
    • 2
  • k

    kaihuang724

    11/16/2017, 4:56 PM
    Hey guys - anyone using ApolloLink with React Native? I'm having a problem setting up Auth Middleware with the new library
  • e

    emattias

    11/16/2017, 5:27 PM
    Can you only use directives with
    Boolean!
    variables? Can’t you check if a
    String!
    is empty or not or do I have to to it like this? ->
    Copy code
    query ($offerId: String!, $offerIdExists: Boolean!) {
        offer(offerId: $offerId) @include(if: $offerIdExists) {
          id
        }
      }
    a
    • 2
    • 1
  • m

    mael

    11/16/2017, 5:42 PM
    Hi guys. I'd like to prevent a user to run an introspection query on my graphcool when he's logged. After all, he has a token, he can knows my graphcool endpoint via his network tab, he could do whatever he wants. A logged user could do this? How can I prevent that?
    a
    • 2
    • 1
  • b

    Butch

    11/16/2017, 6:50 PM
    Hello, seems like the node example is down
    curl <https://codeload.github.com/graphcool/graphcool/tar.gz/master> | tar -xz --strip=2 graphcool-master/examples/node-gateway-custom-schema
  • t

    Tuan Vu

    11/16/2017, 6:53 PM
    Hi all. Is there a guide for iOS Authentication with GraphQL guide out there? Thanks a million.
  • d

    Dawid S.

    11/16/2017, 7:02 PM
    Did anyone try to use subscriptions at https://api.graph.cool ? They seem not to work properly. When i change something(mutation) i get new frame at my websocket connection(i am using apollo-client) but values are not always up to date.
    πŸ‘ 1
    m
    • 2
    • 1
  • f

    Fitch

    11/16/2017, 7:27 PM
    @Dawid S. I would avoid using subscriptions or integrations .. we use a lambda or resolver for array handling
    a
    • 2
    • 2
  • p

    Pkmmte

    11/16/2017, 8:35 PM
    The
    Export Data
    on my Graphcool project settings doesn't actually do anything. After a while, all I see is a
    Failed to fetch
    error message. How do I set up periodic backups?
  • k

    kylet1994

    11/16/2017, 8:44 PM
    @here anyone know how we can filter results by an enum value. the normal filter is not letting me use my enum.
    a
    f
    • 3
    • 27
  • d

    donedgardo

    11/16/2017, 10:13 PM
    Anyone know how to get started intergrating testing to your graphcool services?
    πŸ‘ 1
  • b

    bobbyt

    11/16/2017, 10:53 PM
    Hi, where is the best place to report bugs? Slack, Forum, GitHub, StackOverflow, etc.? I've been banging my head on on a nested object mutation issue for 2 days and looks like it's actually a Graphcool bug. Let's say I have a
    Post
    type with a
    Tag
    field with a many-to-many relationship. When I run a mutation to update a `Post`'s tags, there are 2 Graphcool-generated parameters I can include: β€’ tags: array new tags to create and associate with this
    Post
    (i.e.,
    [{"name: "newTag1", "name": "newTag2"}]
    ) β€’ tagsIds: an array of `id`s of existing `Tag`s to be associated with the
    Post
    (i.e.,
    ["aabbccddeeffgg", "hhiijjkkllmmnn"]
    ) If I only include
    tags
    or
    tagsIds
    in the mutation, it works as expected. However, if I pass both parameters, only the new `Tag`s will be created an associated - the other existing
    Tag
    ids I pass are not associated. This combined method is mentioned here, but does not seem to be functioning as expected: https://www.graph.cool/forum/t/how-do-i-add-an-array-of-objects-to-a-mutation-in-apollo-react/365/6
    Combined
    You can also use tags and tagsIds in the same mutation, this would connect the new Tutorial node to all the tags in tagsIds and connect it to the new tags in tags. This is what you want to do if you want to only allow tags with a unique text, so for a new Tutorial, there will likely be some tags that already exists, and some that need to be created.
    Thanks in advance for any guidance.
  • d

    danstepanov

    11/16/2017, 11:03 PM
    @bobbyt I would assume that https://github.com/graphcool/framework
    πŸ‘ 1
  • d

    danaszova

    11/16/2017, 11:40 PM
    Hey guys, does anyone use graph cool in an official team setting? Specifically how do you deal with version control?
    πŸ‘ 2
  • f

    Fitch

    11/17/2017, 12:05 AM
    I use a copy as main .. copy it .. push it to a dev copy like red .. store schema, function, and graphql files in github
  • f

    Fitch

    11/17/2017, 12:05 AM
    relies on cloning data
  • f

    florian

    11/17/2017, 1:06 AM
    Hello, I am looking into invalidating / blacklisting graphcool auth tokens. I couldn't find anything related to that in the docs.
  • f

    florian

    11/17/2017, 1:08 AM
    This methods seems a nice way to go https://auth0.com/blog/blacklist-json-web-token-api-keys/ but I guess it means fidling with the framework's internals.
  • f

    Fitch

    11/17/2017, 1:08 AM
    I only know of deleting in console .. there is no CRUD
  • f

    Fitch

    11/17/2017, 1:09 AM
    We use Users and Roles with a Jot auth from lambda
  • f

    Fitch

    11/17/2017, 1:09 AM
    https://www.graph.cool/docs/tutorials/auth/authorization-for-a-cms-miesho4goo/
  • f

    Fitch

    11/17/2017, 1:10 AM
    A token service verifies that a user belongs to an ID, then a react prop checks each role in the user object
1...431432433...637Latest