https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • c

    CCBCodeMonkey

    02/21/2019, 8:27 PM
    and I stitch together a lot of stuff in apollo server
  • c

    CCBCodeMonkey

    02/21/2019, 8:28 PM
    I have multiple API's I am hitting, and my prisma layer, and I also use redis for caching
  • c

    CCBCodeMonkey

    02/21/2019, 8:28 PM
    thats the beauty of graphql at the end of the day, you can just write and change resolvers as needed
  • c

    CCBCodeMonkey

    02/21/2019, 8:29 PM
    one resolver might goto prisma, one might go to redis, one might goto a combination, one might goto a google REST api, w/e
  • p

    protzman

    02/21/2019, 8:29 PM
    do you work with prisma / gql for work?
  • c

    CCBCodeMonkey

    02/21/2019, 8:29 PM
    I do gql for work but not prisma
  • c

    CCBCodeMonkey

    02/21/2019, 8:29 PM
    its java
  • c

    CCBCodeMonkey

    02/21/2019, 8:30 PM
    I don't write backend there though, I just use it
  • c

    CCBCodeMonkey

    02/21/2019, 8:30 PM
    I do frontend there
  • c

    CCBCodeMonkey

    02/21/2019, 8:30 PM
    (mostly because I hate java and tell people I dont know it so I dont have to do it) 😛
    😁 1
  • p

    protzman

    02/21/2019, 8:31 PM
    nice . wish I could convince people wo use all these front end technologies. that’s kinda my goal through all of this personal research is to get a new assignment at work or new job and be like “THIS IS WHAT WE’RE USING FOLKS!” haha
  • p

    protzman

    02/21/2019, 8:31 PM
    front end architect of sorts
  • c

    CCBCodeMonkey

    02/21/2019, 8:31 PM
    👍 I work in corporate, so changing backend technologies is a long process lol
  • p

    protzman

    02/21/2019, 8:32 PM
    yeah preach
  • c

    CCBCodeMonkey

    02/21/2019, 8:32 PM
    but graphql is a pretty easy sell
  • c

    CCBCodeMonkey

    02/21/2019, 8:32 PM
    just tell them that it reduces your payloads over time
  • c

    CCBCodeMonkey

    02/21/2019, 8:32 PM
    and your API's stay lean
  • c

    CCBCodeMonkey

    02/21/2019, 8:32 PM
    REST apis get so bloated, you have no idea who is using what
  • p

    protzman

    02/21/2019, 8:32 PM
    " but.. mah deadlines ”
  • c

    CCBCodeMonkey

    02/21/2019, 8:32 PM
    you might only need 1 field out of a rest API but you have to request the entire thing
  • c

    CCBCodeMonkey

    02/21/2019, 8:33 PM
    for the frontend, its just wasteful
  • p

    protzman

    02/21/2019, 8:34 PM
    yeah no i gotcha. I’m familiar with the benefits but business folks only care about deadlines here lol. god forbid we need to rework existing functional backend code lol
    👍 1
    c
    • 2
    • 1
  • c

    CCBCodeMonkey

    02/21/2019, 8:34 PM
    yep
  • c

    CCBCodeMonkey

    02/21/2019, 8:34 PM
    which is why corporate sucks
  • h

    Hmm

    02/21/2019, 9:12 PM
    does the prisma token expire after every deploy?
  • h

    Hmm

    02/21/2019, 9:19 PM
    the answer is no
  • h

    Hmm

    02/21/2019, 9:19 PM
    maybe when you do prisma deploy -n?
  • h

    Hmm

    02/21/2019, 9:23 PM
    still no
  • h

    Hmm

    02/21/2019, 9:30 PM
    Another question....
  • h

    Hmm

    02/21/2019, 9:31 PM
    I have an Apollo Server and Prisma combo locally. I have created a DB and server on Heroku using the prisma cloud setup
1...220221222...637Latest