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

    James

    02/21/2018, 11:08 PM
    i added a new table to the local dev db and ran prisma deploy but the generated schema only says Posts
  • j

    joshjoe

    02/21/2018, 11:08 PM
    Best thing to do now is to post to the forum
  • j

    joshjoe

    02/21/2018, 11:08 PM
    I've had good results with that in the past
  • j

    James

    02/21/2018, 11:08 PM
    yea, needs patience for that
  • j

    James

    02/21/2018, 11:10 PM
    ooh
  • j

    James

    02/21/2018, 11:10 PM
    i had to add it to database/databasemodel
  • j

    James

    02/21/2018, 11:12 PM
    do u want help to get to where i am?
  • j

    James

    02/21/2018, 11:12 PM
    vi database/datamodel.graphql
  • j

    James

    02/21/2018, 11:13 PM
    it says applying changes 7/5 lol
  • j

    James

    02/21/2018, 11:23 PM
    hi guys
  • j

    James

    02/21/2018, 11:25 PM
    can i confirm, am i correct in saying that
    prisma deploy
    never does ALTER TABLE.. ?
  • j

    James

    02/21/2018, 11:30 PM
    Applying changes (7/5) ⣷ takes forever
  • l

    lawjolla

    02/21/2018, 11:37 PM
    I just updated my Prisma Auth0 example repo to include directive permissions. I think they're incredible and hopefully the pattern will help some of you! https://www.graph.cool/forum/t/prisma-auth0-directive-permissions-example/2313/2
    👍 2
    ❤️ 1
  • j

    James

    02/21/2018, 11:40 PM
    that's awesome
  • j

    James

    02/21/2018, 11:41 PM
    have you thought about row-level security too, eg when i ask for all Posts, can I enforce it to filter by only that user id who requested it
    l
    f
    • 3
    • 7
  • j

    James

    02/22/2018, 4:35 AM
    any good tools to generate SDL from a .sql schema?
  • o

    oxyoxy88

    02/22/2018, 6:33 AM
    https://github.com/graphcool/prisma/issues/1858 Is there any specific reason for not supporting WhereInput of Scalar type arrays? Relation field arrays add [fields]_every, [fields]_some, [fields]_none filter to WhereInput but Scalar type arrays don't. It will be useful for me if I can use filter of scalar type arrays.
  • o

    oxyoxy88

    02/22/2018, 7:06 AM
    Currently, I added relation field array that just has one field instead of scalar field and I think this is a waste of resources
  • j

    Josef Henryson

    02/22/2018, 8:53 AM
    Does anyone know if there is a plan to implement following syntax for the GC service? Or will it always be Prisma exclusive? updateUser({ where: { id: ‘abc’ }, data: { name: ‘Sarah’ } }, ‘{ id }’)
  • q

    qsys

    02/22/2018, 9:43 AM
    is it possible to add comments to a scheme model and/or field? How?
    a
    n
    • 3
    • 3
  • s

    sixtatami

    02/22/2018, 10:32 AM
    hi, just playing around with your fullstack react template. All cool and the when I start the server locally I can see the app and the database schema. However, when I primsa deploy to your prisma cloud I can only get the database schema. I expected the app schema. Do I miss something?
    n
    j
    • 3
    • 29
  • q

    qsys

    02/22/2018, 12:25 PM
    can one add scalar types to a graphcool schema?
  • q

    qsys

    02/22/2018, 12:26 PM
    graphcool has built-in types, but I'd like to add custom types.
    f
    • 2
    • 4
  • q

    qsys

    02/22/2018, 12:28 PM
    (I'm serializing to strings now, but I'd prefer to add a type, so on the front end, using Apollo, these serialized objects are automatically deserialized properly)
  • e

    eddig

    02/22/2018, 1:50 PM
    Hi, when we trying to delete the service by this command
    DEBUG=* graphcool delete -t dev
    it’s just brakes on deleting step and exit without errors https://monosnap.com/file/0XGDRAxoKHLPjvSCtwSMxpSz7J7Y5b I notice that there is
    util timed out
    message but can’t find any mentioning on forum. Maybe someone has idea about how to fix this?
  • t

    taikn

    02/22/2018, 2:57 PM
    Hey, anyone knows if there is a way to get
    MIN
    or
    MAX
    value of an
    Int
    field in a GraphQL query?
    h
    • 2
    • 3
  • m

    max

    02/22/2018, 3:39 PM
    Hey so I'm trying to link my local prisma docker instance to MySQL AWS RDS instance and I get the following error:
    Copy code
    Recreating prisma ... done
    Attaching to prisma
    prisma    | Listening for transport dt_socket at address: 8000
    prisma    | Obtaining exclusive agent lock...
    prisma    | Obtaining exclusive agent lock... Successful.
    prisma    | Fatal error during deployment worker initialization: java.sql.SQLSyntaxErrorException: (conn=2507) Table my-db-name.Migration' doesn't exist
    prisma exited with code 255
    Any ideas? I've been posting my progress here: https://www.graph.cool/forum/t/prisma-docker-compose-aws-rds-connection-is-not-available/2621/6
    • 1
    • 1
  • n

    Nick Luger

    02/22/2018, 5:36 PM
    In a sub-resolver: Can i get the
    id
    of my parent, even if
    info
    did not contain an
    id
    . How can i determine the identity of the father? For example if info is
    { profile { posts { title,  publicComments } } }
    , how can i use the missing
    id
    of the given
    post
    to resolve
    publicComments
    ?
    n
    l
    m
    • 4
    • 17
  • n

    Nick Luger

    02/22/2018, 6:36 PM
    It seems that a lot of
    schema.graphql
    -setups are leaking data through cyclic references. These can become complex to manage (
    me
    ➡️
    bookings
    ➡️
    places
    ➡️
    bookings
    (of other user) ) https://github.com/graphcool/graphql-server-example/issues/109 Is there a best practice on that?
    m
    w
    • 3
    • 16
  • i

    ivan-marquez

    02/22/2018, 6:49 PM
    Hi guys!! Is it possible to accept GET requests with
    graphql-yoga
    ? I want to validate the user's email account through a link inside an email that will communicate with my
    GraphQLServer
    . Thanks for your help guys!!
    m
    l
    • 3
    • 22
1...584585586...637Latest