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

    user

    10/22/2017, 8:49 AM
    @melv commented on @Manfred Neustifter’s file https://prisma.slack.com/files/U7LTP6M45/F7P2P0SRM/fresh_clone_and_install____just_cant_make_it_work____.txt: I am on linux and the
    .graphcoolrc
    is in my home dir, if you've got a terminal try
    ls .graphcoolrc*
    fresh_clone_and_install____just_cant_make_it_work____.txt
  • u

    user

    10/22/2017, 8:50 AM
    @Manfred Neustifter commented on @Manfred Neustifter’s file https://prisma.slack.com/files/U7LTP6M45/F7P2P0SRM/fresh_clone_and_install____just_cant_make_it_work____.txt: Ok so I got: .graphcoolrc .graphcoolrc.old
    fresh_clone_and_install____just_cant_make_it_work____.txt
  • u

    user

    10/22/2017, 8:52 AM
    @melv commented on @Manfred Neustifter’s file https://prisma.slack.com/files/U7LTP6M45/F7P2P0SRM/fresh_clone_and_install____just_cant_make_it_work____.txt: the
    graphcool.old
    is de legacy one , i think with
    more graphcool.old
    you can check this , it should contain a json structure starting with
    {
    instead of
    c
    fresh_clone_and_install____just_cant_make_it_work____.txt
  • u

    user

    10/22/2017, 8:54 AM
    @melv commented on @Manfred Neustifter’s file https://prisma.slack.com/files/U7LTP6M45/F7P2P0SRM/fresh_clone_and_install____just_cant_make_it_work____.txt: if that true you should rename the the
    graphcoolrc.old
    to
    .graphcoolrc
    fresh_clone_and_install____just_cant_make_it_work____.txt
  • m

    Manfred Neustifter

    10/22/2017, 8:54 AM
    { “token”: “areallylonghash…_xyz” }
  • u

    user

    10/22/2017, 8:55 AM
    @melv commented on @Manfred Neustifter’s file https://prisma.slack.com/files/U7LTP6M45/F7P2P0SRM/fresh_clone_and_install____just_cant_make_it_work____.txt: yes if you look at
    .graphcoolrc
    you see
    cluster
    the unexpected
    c
    fresh_clone_and_install____just_cant_make_it_work____.txt
  • m

    Manfred Neustifter

    10/22/2017, 8:55 AM
    $ more .graphcoolrc clusters: default: shared-eu-west-1 platformToken: >- anotherreallylonghash
  • u

    user

    10/22/2017, 8:58 AM
    @melv commented on @Manfred Neustifter’s file https://prisma.slack.com/files/U7LTP6M45/F7P2P0SRM/fresh_clone_and_install____just_cant_make_it_work____.txt:
    Copy code
    mv  .graphcoolrc graphcool.next
    ln -s .graphcoolrc.old .graphcoolrc
    fresh_clone_and_install____just_cant_make_it_work____.txt
  • m

    Manfred Neustifter

    10/22/2017, 9:03 AM
    🙌 😅 legend! thank you!
  • m

    Manfred Neustifter

    10/22/2017, 9:04 AM
    lol — wish i did this weeks ago!
  • t

    tfiwm

    10/22/2017, 10:43 AM
    Somebody_had_this_problem_.js
  • n

    nilan

    10/22/2017, 10:55 AM
    @tfiwm just created this issue https://github.com/graphcool/graphcool/issues/997
  • t

    tfiwm

    10/22/2017, 11:01 AM
    so the solution is to use ecmascript 6 imports?
    n
    • 2
    • 23
  • m

    Manfred Neustifter

    10/22/2017, 11:12 AM
    yarn test yarn run v1.2.1 warning ../../package.json: No license field $ node node_modules/jest/bin/jest.js --watch module.js:473 throw err; ^ Error: Cannot find module ‘/Users/manfredneustifter/react-native-graphql/subscriptions-with-expo-and-apollo-chat/node_modules/jest/bin/jest.js’ at Function.Module._resolveFilename (module.js52715) at Function.Module._load (module.js45325) at Function.Module.runMain (module.js66510) at startup (bootstrap_node.js18716)
    ___package_json__No_license_field.txt
  • n

    nilan

    10/22/2017, 11:14 AM
    @Manfred Neustifter if you have an involved question, please refer to the Forum: https://graph.cool/forum/c/questions pasting code/errors without formulating some context/question makes it less likely to get an answer 🙂
    👍 1
  • m

    Maslov

    10/22/2017, 2:14 PM
    why I can’t get the all fields in the pipeline-function?
  • m

    Maslov

    10/22/2017, 2:18 PM
    also I want to say the logs are unreadable, maybe we can get them more readable)
  • m

    Maslov

    10/22/2017, 2:18 PM
  • r

    rein

    10/22/2017, 2:42 PM
    is there any way to delete an item by anything other than its ID? For example, a unique combination of other values?
  • d

    Dejan Nesic

    10/22/2017, 2:48 PM
    Similar question, totally new to graphql and apollo How can I access single user by i.e. email model
    Copy code
    type User @model {
      id: ID! @isUnique
      name: String
      email: String! @isUnique
      number: String
    }
    query code
    Copy code
    const getUserQuery = gql`
    query User($email: String!) {
      User(email: $email){
        id
        name
      }
    }
    `;
    
    checkProfileSubscription: Subscription
    myemail:String = ‘exampleEmail@mail.com'
    
    this.checkProfileSubscription = this.apollo.watchQuery({
          query: getUserQuery,
          variables: {
            $email: this.myemail
          }
        }).subscribe(({data}: any) => {
          console.log(data)
        });
    I get error like
    Error:  GraphQL error: Variable '$email' expected value of type 'String!' but value is undefined. Reason: Expected non-null value, found null. (line 1, column 12): query User($email: String!)
    n
    • 2
    • 11
  • v

    Vishwaraj Malik

    10/22/2017, 2:55 PM
    Hello all .how i can start learning grapfql?
  • n

    nikolasburk

    10/22/2017, 2:56 PM
    I think the best way to get started is on www.howtographql.com 🙂
  • m

    Maslov

    10/22/2017, 2:59 PM
    Will the fetch in server-side subscription work?
  • m

    Maslov

    10/22/2017, 3:00 PM
    Just tested now, the function is working, but fetch seems doesn’t
    a
    • 2
    • 85
  • m

    Maslov

    10/22/2017, 3:02 PM
    also console.log(1,2) seems throws only 1 argument
    a
    • 2
    • 1
  • v

    Vishwaraj Malik

    10/22/2017, 3:06 PM
    thanks a lot @nikolasburk
  • t

    tfiwm

    10/22/2017, 3:15 PM
    I already have open docker logs -f local_localfaas_1 and
    Is_there_a_way_to_see_some_logs_to_understand_the_problem_.js
  • u

    user

    10/22/2017, 3:17 PM
    @tfiwm commented on @tfiwm’s file https://prisma.slack.com/files/U4TR4JFRP/F7N3MRZ36/is_there_a_way_to_see_some_logs_to_understand_the_problem_.js: This is what i see in the localfaas logs No content to map due to end-of-input at [Source: ; line: 1, column: 0]
    Is_there_a_way_to_see_some_logs_to_understand_the_problem_.js
  • d

    dynn27

    10/22/2017, 3:19 PM
    can I have a 3 mutations that rely on each returns? eg. id returned by the first mutation and then the second
  • d

    dynn27

    10/22/2017, 3:19 PM
    without any JS code, just on graphql
1...385386387...637Latest