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

    sdubois

    02/06/2017, 9:09 AM
    @sorenbs what's PAT? In general, the problem is that sometimes I need to create a user manually first, and then maybe that user will authenticate later. For example if I create an app with events, e.g a meditation retreat, I want to manually create the event to say who the retreat's facilitator will be. But later this person may want to actually log into the system, and it would be illogical for another entity to be re-created (would create duplicate name/profile info, etc). And if I then add UI to allow this facilitator to edit some of the retreat's metadata, I will first need to merge these entries anyway.
  • s

    sdubois

    02/06/2017, 9:10 AM
    I'd say it's quite a blocking situation right now as I don't even know how to proceed. A while back when I was doing preliminary testing, it was still possible to create User entries manually
  • s

    sdubois

    02/06/2017, 9:12 AM
    PAT = personal access token?
  • s

    sorenbs

    02/06/2017, 9:12 AM
    A PAT is a permanent access token. They are primarily used by backend systems (ie, systems not operating on behalf of a user) to access the Graphcool project.
  • s

    sorenbs

    02/06/2017, 9:13 AM
    That would make it possible to easily create test data, but I donโ€™t think that would help in your situation though.
  • s

    sdubois

    02/06/2017, 9:13 AM
    At this point, how about simply removing the required constraint on the auth0UserId field? And secondly, restoring the button to be able to create Users directly from the console
  • s

    sdubois

    02/06/2017, 9:14 AM
    (Same question for all system tables in general, e.g File)
  • s

    sorenbs

    02/06/2017, 9:17 AM
    We have a significant update to authProviders planned, exactly to address this issue. Maybe @nilan can help figure out if our planned changes would address your issue
  • s

    sdubois

    02/06/2017, 9:18 AM
    yes please ๐Ÿ™‚ right now I just don't know how to proceed... Creating auth data just seems quite hacky, as I'm not that person that I want to create. For the time being for my tests, it feels like my only workaround is to create another User table which doesn't have the auth0UserId
  • s

    sdubois

    02/06/2017, 9:19 AM
    4. General question, what is your ETA on when Graphcool would be production-ready? Or do you already consider it to be so?
    n
    • 2
    • 3
  • s

    sdubois

    02/06/2017, 9:37 AM
    5. I just created a Retreat tabel, with a many-to-many relation to Member called
    facilitators
    . I then tried to link from a Retreat to a Member, but nothing happens when I click on the Member item in the list (see attached picture). Bug?
  • s

    sdubois

    02/06/2017, 9:38 AM
  • s

    sdubois

    02/06/2017, 9:43 AM
    5 - Ok the model was broken for some reason, I discovered that by seeing that there was no field on the Member side. I recreated the relation on Retreat side and it worked. So this seems to come from the fact that I had renamed the field, it indeed broke things, although it had all the info to do it correctly.
    n
    • 2
    • 3
  • s

    sunrising

    02/06/2017, 10:43 AM
    hi everybody, is there a way to "import models"? what i mean is a way to define models out of a json for example... or any way faster than use the (still awesome) console UI
  • s

    schickling

    02/06/2017, 10:44 AM
    Hey @sunrising! Weโ€™re indeed working on something like this! @nilan will reach out with more details ๐Ÿ™‚
    ๐Ÿ‘ 1
  • s

    sunrising

    02/06/2017, 10:44 AM
    great! that's what i call timing ๐Ÿ˜‰
    ๐Ÿ™Œ 1
  • v

    vinspee

    02/06/2017, 1:19 PM
    Hi! Things are going well, Iโ€™m running into an issue that Iโ€™m sure is a mistake Iโ€™m making: This code isnโ€™t producing a
    user
    prop! Any idea what Iโ€™m missing? https://gist.github.com/b22fe1d50a243d1b7377ded7a9255e22
    n
    • 2
    • 19
  • s

    sunrising

    02/06/2017, 2:39 PM
    I'm sorry guys, is there a way to have 2 relations between the same 2 models but with different name? think about a userAddress and shippingAddress fields of User model related to Address model
    n
    • 2
    • 4
  • n

    nilan

    02/06/2017, 2:41 PM
    welcome @rudin! ๐Ÿ–๏ธ
  • r

    rudin

    02/06/2017, 3:42 PM
    Hi @nilan, I have a question. Working on uploading a file which goes well. But now that I want to mutate the file node, I get this "Internal server error" with suggesting me to contact you with request id: ciyu9jcapgmb90155ahz0udyw
    n
    • 2
    • 1
  • g

    gollyjer

    02/06/2017, 6:22 PM
    For those of you who like things to match. #27AE60,#20303D,#0F202E,#FFFFFF,#20303D,#FFFFFF,#222222,#FF8669
    graphcool 6
  • n

    nilan

    02/06/2017, 6:24 PM
    Default Theme
  • n

    nilan

    02/06/2017, 6:24 PM
    #4D394B,#3E313C,#4C9689,#FFFFFF,#3E313C,#FFFFFF,#38978D,#EB4D5C
    โค๏ธ 1
  • g

    gollyjer

    02/06/2017, 6:29 PM
    Hey guys. I'd like to run the Instagram Example. https://github.com/graphcool-examples/react-native-apollo-instagram-example but I'm pretty much stuck. I created a project called Instagram Example but I'm thinking maybe the original was the one from the initial walkthrough and I deleted it? Not really sure what to do to run this example. ๐Ÿ˜•
    n
    • 2
    • 43
  • a

    artyom

    02/06/2017, 9:53 PM
    hi @shaharh and @gmuresan , welcome! ๐Ÿ™‚
  • n

    nilan

    02/06/2017, 9:56 PM
    oh hey @shaharh ๐Ÿ™‚ let me know how that exponent app goes ๐Ÿ˜„
    ๐Ÿ‘ 2
  • g

    gollyjer

    02/06/2017, 10:33 PM
    Is there a standard format I should use to store a date? I usually use database fields like... iso_date iso_offset
    n
    • 2
    • 4
  • g

    gollyjer

    02/06/2017, 10:34 PM
    This is for "time stamping" posts by users.
  • n

    nilan

    02/06/2017, 10:38 PM
    hi @dan_mcc ๐Ÿ™Œ
  • m

    monkeybonkey

    02/06/2017, 11:28 PM
    basic question - does graphcool support subscriptions?
1...99100101...637Latest