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

    halborg

    05/17/2017, 10:19 AM
    Hey all 🙂 I’m having some startup issues with graphcool and Relay Modern, and I’m hoping someone could help out with my noob questions 🙂 I’m trying to run
    yarn run relay
    , but get this error:
    Must provide schema definition with query type or a type named Query
    . I just exported the schema from the graphcool console. Is there any checkbox or dropdown where I can choose a Relay compatible schema somewhere that I haven’t seen? 🙂
    n
    • 2
    • 6
  • i

    ilja

    05/17/2017, 10:41 AM
    I remember there being a github issue that essentially started work on things like email / password authentication enhancements i.e. sending verification email, password change etc.. has this been since completed? As docs for email and password auth via graph cool are still pretty much the same?
    n
    • 2
    • 2
  • g

    gerardsans

    05/17/2017, 10:54 AM
    Hi there! I just published this blogpost https://medium.com/@gerard.sans/building-handsup-an-os-real-time-voting-app-using-graphql-and-react-b2b7dcd0e136 using Graphcool and Auth0 besides some other features like new CLI, Apollo Client 1.0, aggregations, polling, subscriptions, etc. Enjoy!
    parrotwave7 1
    🎉 1
    👍 1
  • p

    ppatidar

    05/17/2017, 11:09 AM
    @nilan, How can pass enum value in default for a model field enum AthleteStatus { APPROVED MANAGER_PENDING } type Athlete implements Node { createdAt: DateTime! createdBy: User @relation(name: "CreatedAthlete") graduation: String graduationProgramLength: String graduationUniversity: String graduationYear: Int hightSchool: String hightSchoolUniversity: String hightSchoolYear: Int id: ID! @isUnique status: AthleteStatus! @defaultValue(value: APPROVED) updatedAt: DateTime! user: User! @relation(name: "UserOnAthlete") } getting error: The specified default value 'APPROVED' is not a valid Enum Value for this field (Request ID: cj2sug9wnqt3k0123cszcita4)
    n
    • 2
    • 5
  • m

    monkeybonkey

    05/17/2017, 11:27 AM
    has anyone had experience using the
    update
    option in a mutation with the apollo client?
  • m

    monkeybonkey

    05/17/2017, 11:29 AM
    the mutation fires, but the update is not triggering for some reason…
    Copy code
    myNamedMuationCalledFollow({
            variables,
            update: (proxy, { data: { followersUser } }) => {
              console.log('this never triggers');
              const newData = proxy.readQuery({ getUserQuery });
              newData.followers.push(followersUser);
              proxy.writeQuery({ getUserQuery, newData });
            },
          });
  • j

    jv.bianchi

    05/17/2017, 12:38 PM
    hello, how can we avoid that something like this happens with graphcool users as well? https://medium.com/@contact_16315/firebase-costs-increased-by-7-000-81dc0a27271d
    s
    • 2
    • 2
  • m

    mcorrand

    05/17/2017, 12:45 PM
    Hello
  • m

    mcorrand

    05/17/2017, 12:46 PM
    so... I'm a complete noobie at node/npm. I get this Syntax error when I run npm start on the instagram example app:
    Copy code
    ERROR in ./src/index.js
    Module build failed: SyntaxError: Unexpected token =
        at exports.runInThisContext (vm.js:53:16)
        at Module._compile (module.js:404:25)
        at Object.Module._extensions..js (module.js:432:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:313:12)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at Object.<anonymous> (/Users/mcorrand/Desktop/react-relay-instagram-quickstart-master/node_modules/babel-plugin-react-relay/lib/index.js:47:28)
        at Module._compile (module.js:425:26)
        at Object.Module._extensions..js (module.js:432:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:313:12)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at /Users/mcorrand/Desktop/react-relay-instagram-quickstart-master/node_modules/babel-core/lib/transformation/file/options/option-manager.js:178:20
        at Array.map (native)
     @ multi main
    Does that ring a bell with anyone?
    n
    • 2
    • 1
  • j

    jensneuse

    05/17/2017, 1:00 PM
    got an ‘=’ in one of your queries where it shouldn’t be?
    m
    n
    • 3
    • 3
  • s

    soonertrent

    05/17/2017, 1:16 PM
    Hello! I'm trying to implement Permissions on objects in my schema (almost exactly like this example: https://www.graph.cool/docs/tutorials/authorization-content-management-system-miesho4goo/#elevated-access-for-owners); however, when I query in the Playground I never get the expected behavior (data is filtered by the 'owner'). I would assume that the Playground would respect those Permissions and that's where I should go to test this but wanted to validate that I'm right? Any additional guidance that someone could provide would be very much appreciated.
    n
    • 2
    • 16
  • t

    trevorm

    05/17/2017, 1:23 PM
    👋
    a
    • 2
    • 1
  • a

    artyom

    05/17/2017, 2:04 PM
    oh boy, phew! had to take a nap while writing the names of all the amazing folks joining us recently, so many!! 🙂 welcome to graphcool all, so glad you’re here! @kevinjalbert @pgupta @nick_ @rickfrom1987 @fintankearney @derimagia @leocadastro @aross @nguyenn @daohoangson @jryles @yogesh @cubeddu @daniil @imadmk @aswindevps @leopradel @paulbeattie @saranvp66 @erhankaradeniz @igor @akin909 @nco @handtrix @louislarry @mmiranda @gab @dai.tr @tahiri @jusd @dave @agmontpetit @artindaniel @thedaviddias @bjulia @vladzz @yveveke @skylux @schinkawoo @uivlis @vjpr @wpend @zorfling @slackday @juri @trisix @kenneth2g60 @mihailo @jlowin @nicholastancredi @luca @alethes
    🙋 1
    🚀 1
    👋 4
    🦜 1
    🤘 1
  • a

    artyom

    05/17/2017, 2:04 PM
    join #graphql-europe-comm if you are here for GraphQL-Europe graphql europe
  • j

    jusd

    05/17/2017, 2:06 PM
    Thanks for having us @artyom 🙂
    a
    • 2
    • 1
  • s

    slackday

    05/17/2017, 2:09 PM
    Thanks for invite. This project/product looks promosing and I’ve been enjoying using graphql so far
    👍 1
    a
    • 2
    • 5
  • d

    dk0r

    05/17/2017, 2:19 PM
    [off topic?] Any suggestions for react-native based payment libraries for android and ios? I would like to support android pay, apply pay, paypal, and a credit card gateway
  • e

    emil

    05/17/2017, 2:30 PM
    Hi, I'm new to graphql and I'd like to build a todo-list with many-to-many relations, where I could for example have data as follows: "title": "work", "childrenTasks": [ { "title": "projects", "childrenTasks": [ { "title": "typic.bid", "childrenTasks": [ { "title": "Marketing", "childrenTasks": [] … How could I query for all tasks with the parent projects, and no childTasks? Is GraphQL even a tool that would allow this easily? Thanks in advance
    n
    • 2
    • 8
  • p

    ppatidar

    05/17/2017, 3:09 PM
    @nilan hiw can i use functions?
  • b

    ben

    05/17/2017, 3:17 PM
    ✅ 1
  • j

    jarus

    05/17/2017, 3:47 PM
    hi, graphcool algolia integration isn’t working for me atm - information isn’t updating between graphcool and algolia when changed
    n
    p
    • 3
    • 36
  • r

    renatomattos2912

    05/17/2017, 4:14 PM
    hi everyone
    🙌 1
  • a

    artyom

    05/17/2017, 4:14 PM
    hey ya!
  • a

    artyom

    05/17/2017, 4:15 PM
    welcome also @jp @junxiang @gentryb @davebryand @alexzajac @arnaudmanaranche @tomhut @robin 👋 👋 glad you’re joining us today!
    😁 2
  • a

    artyom

    05/17/2017, 4:15 PM
    head on over to #graphql-europe-comm for any GraphQL-Europe related matters
  • a

    alexzajac

    05/17/2017, 4:16 PM
    👋
  • u

    user

    05/17/2017, 4:16 PM
    @nilan commented on @ben’s file

    https://prisma.slack.com/files/U32BWDW8Y/F5EL38LF4/screen_shot_2017-05-17_at_10.16.32_pm.png▾

    : I
  • u

    user

    05/17/2017, 4:16 PM
    @nilan commented on @ben’s file

    https://prisma.slack.com/files/U32BWDW8Y/F5EL38LF4/screen_shot_2017-05-17_at_10.16.32_pm.png▾

    : I reached out in PM 🙂
  • y

    yonatron

    05/17/2017, 4:32 PM
    I have various JSON consuming clients that do not use react, apollo or other front end frameworks. Can I use these with Graphcool?
    n
    a
    • 3
    • 5
  • c

    changalberto

    05/17/2017, 5:30 PM
    Question regarding relationships of files. In an example app like instagram where users upload images. What is a recommended way to keep track of these images separate from the "System File" model? Would anyone recommend creating a new "Photo" model and add a many relationship to the "File" model?
1...192193194...637Latest