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

    schickling

    10/31/2016, 6:44 PM
    Hey @dcsummers! That's awesome! Have you checked out our examples?
    ๐Ÿ˜ 1
  • s

    schickling

    10/31/2016, 6:44 PM
    https://github.com/graphcool-examples
  • e

    emilrmoeller

    10/31/2016, 7:16 PM
    Good evening everyone :) I'm looking into how to do business logic, and one thing isn't clear to me about the action handler webhooks concept. Can it be be for example be used for validating the email/password server side before creating the user in the database? And if so, what would be the flow for such an interaction?
  • s

    sorenbs

    10/31/2016, 7:28 PM
    Hi @emilrmoeller . Actions are executed after the data is inserted and as such can not be used to validate data before saving it. Custom Constraints is a feature planned for December that would support this. https://github.com/graphcool/feature-requests/issues/23 Please feel free to comment on that feature request if you have a particular use case in mind so we can be sure that we cover everything when implementing this.
  • s

    sorenbs

    10/31/2016, 7:29 PM
    What kind of validation do you need to do?
  • e

    emilrmoeller

    10/31/2016, 8:29 PM
    Hi sรธren, Perfect I will look at it :) I was looking for customization of the constraints, so I'm glad to hear that's where you implement it :) I'm not sure yet, but of the top of my head it's validation of email and password lengths, but you can say it's overkill if you also send an verification email.
  • b

    benwixen

    11/01/2016, 1:45 PM
    Hi graph.cool'ers! Would any of the team be willing to share some hints about where graph.cool is hosted, and about the backend technology?
  • s

    sam

    11/01/2016, 1:48 PM
    @benwixen I just talked with @schickling about that yesterday
  • s

    sam

    11/01/2016, 1:49 PM
    He'd be the guy to ask, I think
  • s

    sorenbs

    11/01/2016, 1:49 PM
    Hi @benwixen We are hosted on AWS and use Scala for the api backend. Oleg is doing great work with Sangria, and I would highly encourage anyone doing their own backend to at least consider it.
  • s

    sorenbs

    11/01/2016, 1:49 PM
    Thanks for chiming in @sam ๐Ÿ™‚
    ๐Ÿ‘ 2
    sangria 2
  • s

    sam

    11/01/2016, 1:51 PM
    @benwixen it's really cool about data storage: they use a MySQL system (AWS Aurora) to actually store the data, and @schickling said they were making schema updates in MySQL on the fly as your GraphQL model changes
  • b

    benwixen

    11/01/2016, 1:52 PM
    Thanks guys!
  • b

    benwixen

    11/01/2016, 1:52 PM
    Do you have plans for supporting other clouds in the future?
  • s

    sorenbs

    11/01/2016, 1:54 PM
    We might if there is a compelling enough use case. Any reason you would want us to be in a different cloud?
  • b

    benwixen

    11/01/2016, 1:54 PM
    I'm a sucker for Google App Engine
  • s

    sam

    11/01/2016, 1:54 PM
    Just passed 400 people in this channel
    ๐ŸŽ‰ 2
  • b

    benwixen

    11/01/2016, 1:54 PM
    and I think their Container Engine is better than the AWS offering as well
  • b

    benwixen

    11/01/2016, 1:55 PM
    but AWS is of course a bigger market, so it makes sense for you to choose that
  • s

    sorenbs

    11/01/2016, 1:55 PM
    @sam haha ๐Ÿ™‚ We should have a price for number 1000!
  • s

    sorenbs

    11/01/2016, 1:56 PM
    @benwixen Is it because you want to run custom code in google that communicates with Graphcool and you want to minimise latency?
  • b

    benwixen

    11/01/2016, 1:56 PM
    other than that, I guess it's just an easier sell, if you as a user have some choice
  • b

    benwixen

    11/01/2016, 1:57 PM
    @sam: for me personally, it would be latency. I know it's less of an issue with GraphQL than with other types of data storage, but still
  • s

    sam

    11/01/2016, 1:57 PM
    I think you meant @sorenbs
  • b

    benwixen

    11/01/2016, 1:57 PM
    sorry, that was for @sorenbs
  • s

    sam

    11/01/2016, 1:57 PM
    yeah
  • s

    sam

    11/01/2016, 1:57 PM
    np
  • b

    benwixen

    11/01/2016, 2:01 PM
    @sorenbs: I was also wondering just in general. It's an interesting product
  • n

    nilan

    11/01/2016, 2:01 PM
    ah, welcome @benwixen. I see you read my tweet simple smile
  • b

    benwixen

    11/01/2016, 2:01 PM
    @sorenbs: It would probably be fine for my use cases, but I'm not rewriting my backend right now
1...373839...637Latest