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

    mclovin

    06/06/2017, 8:43 PM
    ?
  • m

    mclovin

    06/06/2017, 8:49 PM
    I want to use the google api after they logged in with a google account
  • m

    mentallyretired

    06/06/2017, 9:06 PM
    what is up homies
    ๐Ÿ˜‚ 1
    n
    • 2
    • 1
  • s

    steven

    06/06/2017, 9:07 PM
    Hi Following Ray Wenderlich tutorial on iOS and graph.cool Ran the following and didnโ€™t seem to generate a schema - use the simple api endpoint from schema. apollo-codegen download-schema https://api.graph.cool/simple/v1/cj3lz0rax54pw0108e3z7nrv7 --output schema.json Also is their maybe an option for a swift iOS project to download for the project?
  • l

    lastmjs

    06/06/2017, 9:57 PM
    I feel like my hands are tied everywhere I need them when deeling with users server-side. I can't get a JWT for a user and I can't get the user's plain-text password; I also can't update their email address or their password... I'm hoping these issues can be addressed, loving everything so far just need some more freedom
    h
    • 2
    • 6
  • s

    steven

    06/06/2017, 10:44 PM
    was albe to create the schema.json - need to be in correct directory
    ๐Ÿ’ฏ 1
    n
    • 2
    • 1
  • a

    agartha

    06/06/2017, 11:31 PM
    Seems Github is unable to handle all our feature requests ๐Ÿ™‚
    ๐Ÿ˜‚ 1
    bowtie 1
  • s

    steven

    06/06/2017, 11:48 PM
    In Xcode in the .graphql file saying โ€œfuncโ€ ( my function) is a syntax error http://dev.apollodata.com/ios/installation.html#installing-xcode-add-ons Followed above in Ray Wenderlich tutorial to get syntax highlighting, but guess it still does not understand .graphql extension ( and am not getting syntax highlighting)
  • a

    agartha

    06/07/2017, 1:57 AM
    Question: Can I retrieve effective permissions for the current user for a Type?
  • a

    agartha

    06/07/2017, 2:00 AM
    For example: when I query a list of Contacts, I would like to include in my query result if the current user has permission to create, so I know if the 'add' button in my frontend should be enabled/disabled
    n
    • 2
    • 9
  • s

    steven

    06/07/2017, 2:28 AM
    fixed my error needed to use the auto generated swift file from the .graphql file
  • l

    louislarry

    06/07/2017, 8:40 AM
    Hi
  • l

    louislarry

    06/07/2017, 8:41 AM
    Question regarding integration with auth0
  • l

    louislarry

    06/07/2017, 8:42 AM
    query user
    returns correct answer when I sign my jwt with HS256, but not when I sign with RS256
  • l

    louislarry

    06/07/2017, 8:45 AM
    But it seems that auth0-js now returns JWT token RS256 instead of HS256
  • l

    louislarry

    06/07/2017, 8:45 AM
    https://auth0.com/forum/t/auth0-returning-jwt-token-rs256-token-instead-hs256/5408
  • p

    picosam

    06/07/2017, 11:09 AM
    I have no questions, just spreading some love in this good place ๐Ÿ˜
    โค๏ธ 1
    ๐Ÿ’š 2
    graphcool 1
    ๐Ÿ‘๐Ÿป 1
  • p

    picosam

    06/07/2017, 11:09 AM
    Where is the announcements channel by the way? ;-)
    n
    • 2
    • 4
  • t

    trond

    06/07/2017, 11:32 AM
    Doing a simple user query with Apollo where Bearer token is added, the query fails with Network error: Server response was missing for query 'undefined'. If I remove the Bearer token, the query succeeds but returns user:null. Any clues?
    โœ… 1
    n
    • 2
    • 9
  • t

    trond

    06/07/2017, 11:38 AM
    btw the token is from Auth0 and verifies at jwt.io
  • l

    louislarry

    06/07/2017, 11:48 AM
    Is there a way to make auth0 integration to accept RS256 signed JWT token?
    n
    • 2
    • 30
  • y

    yus

    06/07/2017, 12:05 PM
    hi @nilan i am experiencing a bug to do with a deleted field
  • y

    yus

    06/07/2017, 12:06 PM
    I have a Customer type with a loginToken field which I have deleted. Now when I run the createCustomer mutation, I get an error saying
    "Query does not pass validation. Violations:\n\nCannot query field 'loginToken' on type 'Customer'. Did you mean 'xxxx'?
  • y

    yus

    06/07/2017, 12:06 PM
    It seems like the old field is being cached somehow, thus affecting mutations. Query works fine
  • n

    nilan

    06/07/2017, 12:07 PM
    Hey @yus ๐Ÿ™‚ it looks like you have a SSS defined on the type
    Customer
    that still includes the
    loginToken
    field, is that correct?
    ๐Ÿ‘ 1
  • y

    yus

    06/07/2017, 12:07 PM
    ah
  • y

    yus

    06/07/2017, 12:07 PM
    it bites again
  • y

    yus

    06/07/2017, 12:07 PM
    sss strikes again!
    ๐Ÿ˜‚ 1
  • y

    yus

    06/07/2017, 12:08 PM
    you are absolutely correct @nilan !
  • y

    yus

    06/07/2017, 12:08 PM
    thanks for saving me!
1...219220221...637Latest