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

    Pieter

    07/11/2017, 8:10 AM
    I got this weird use case here when a user signs in with auth0 it sometimes has a profile pic for it (from the provider). If it does, I display that. But I give them the option to upload a picture anyways, whether they got one or not (as they might want to change it). So I make this mutation to save a imageId to the profile after uploading to the graphcool file api. But what if the user decides to keep his auth0 image (which isnt uploaded). How do I get graphql to accept a image ID from auth0? Or alternatively, how do I download and upload the auth0 image to graphcool file API behind the scenes, without the user manually downloading and upload it?
    d
    t
    • 3
    • 9
  • d

    davemcorwin

    07/11/2017, 1:00 PM
    hello Graphcool! is it not possible to use a custom type for a field without w relationship? I just want the type as a way to enforce the data structure… Ex:
    Copy code
    type Location {
      address: String!
      city: String!
      state: String!
      zip: Int!
    }
    
    type Account {
      id: ID! @isUnique
      location: Location
    }
    results in
    Copy code
    ✖ The relation field `location` must specify a `@relation` directive: `@relation(name: "MyRelation")`
  • d

    davemcorwin

    07/11/2017, 1:01 PM
    this is ok in normal GraphQL land
  • n

    nilan

    07/11/2017, 1:13 PM
    Hey <!everyone>, we're super happy to announce the launch of How To GraphQL graphql Together with some great members of the GraphQL community our goal was to create the best resource to learn GraphQL. There are different tracks for basics of GraphQL, frontend (React, Apollo, Relay) and backend technologies (JavaScript, Java, Ruby, Pyhon) suitable for both veterans and developers just getting started with GraphQL. We're sharing this resource on Product Hunt and Hacker News, so please help us with spreading the word! 🙌 https://www.howtographql.com/
    🙌 10
    💪🏻 7
    💯 21
    🎉 21
    😀 4
    🦜 36
    graphcool 16
    🌟 2
    👏 12
    👍 12
  • e

    emilrmoeller

    07/11/2017, 1:13 PM
    Nice!
  • m

    michaelsbradleyjr

    07/11/2017, 1:13 PM
    👍
    👍 1
  • k

    kurt

    07/11/2017, 1:13 PM
    Will check it out!
  • m

    mentallyretired

    07/11/2017, 1:13 PM
    oh this is awesome
  • j

    jaison

    07/11/2017, 1:13 PM
    Kudos
  • n

    notrab

    07/11/2017, 1:14 PM
    Really awesome!
  • g

    gojutin

    07/11/2017, 1:14 PM
    Looking forward to checking it out!
  • u

    12brols

    07/11/2017, 1:14 PM
    love you
  • n

    notrab

    07/11/2017, 1:14 PM
    I hope you don’t mind but I posted this to Product Hunt
    💯 2
    🚀 2
  • n

    notrab

    07/11/2017, 1:14 PM
    It’s so cool
  • n

    notrab

    07/11/2017, 1:14 PM
    https://www.producthunt.com
  • k

    KATT

    07/11/2017, 1:15 PM
    We’re sharing this resource on Product Hunt
  • k

    KATT

    07/11/2017, 1:15 PM
    haha
  • n

    notrab

    07/11/2017, 1:15 PM
    Beat them to it!
  • n

    notrab

    07/11/2017, 1:15 PM
    haha
  • s

    siyfion

    07/11/2017, 1:15 PM
    I can’t see it on Hacker News yet
  • k

    KATT

    07/11/2017, 1:16 PM
    i’m sure @notrab is on it
  • k

    KATT

    07/11/2017, 1:16 PM
    haha
  • s

    siyfion

    07/11/2017, 1:16 PM
    I almost added it myself until I read it 😉
  • t

    tdekoekkoek

    07/11/2017, 1:16 PM
    Please add Angular!
    n
    • 2
    • 2
  • m

    mentallyretired

    07/11/2017, 1:16 PM
    frickin breakneck speed with the product hunt thing
  • m

    mentallyretired

    07/11/2017, 1:16 PM
    I barely had time to load the website and its posted
    😂 3
    n
    • 2
    • 1
  • r

    rpeterson

    07/11/2017, 1:17 PM
    +1 from me, great start guys!
  • n

    notrab

    07/11/2017, 1:17 PM
    Really nice resource guys - I’m loving the detail gone into this. This is exactly what the GrapHQL community needs right now
    👍 2
  • g

    gojutin

    07/11/2017, 1:18 PM
    I just have to say that the navigation on this tutorial is slick!
  • m

    mentallyretired

    07/11/2017, 1:19 PM
    agreed... I consider myself to be pretty up on tech trends and I always thought graphql was "some facebook database". I honestly got it confused with couchdb for a long time
1...263264265...637Latest