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

    daniele

    11/21/2017, 4:40 PM
    @nilan honestly I do not agree on the Slack channel...why not create a support Channel
  • d

    daniele

    11/21/2017, 4:40 PM
    people can help directly there
  • d

    daniele

    11/21/2017, 4:40 PM
    waiting a reply on the forum is quite long
    n
    d
    m
    • 4
    • 17
  • e

    ersherr

    11/21/2017, 4:49 PM
    hey! quick question, i saw somewhere that the Integrations tab is being deprecated. does that include auth0? just getting set up and wanted to use an external auth provider
    n
    • 2
    • 2
  • d

    Dukuo

    11/21/2017, 4:54 PM
    Well, we don't have the integrations tab on newly created, framework-based projects if that helps you
  • d

    Dukuo

    11/21/2017, 4:57 PM
    but you can still achieve that with
    Functions
  • n

    nilan

    11/21/2017, 4:58 PM
    Didn't want to steal your show @notrab! Check this out everyone: https://graphcool.slack.com/archives/C0MQJ62NL/p1511282120000767 💪
    👍 2
    ✨ 2
    🦜 1
    graphcool 1
    d
    m
    n
    • 4
    • 4
  • d

    Dukuo

    11/21/2017, 5:28 PM
    does the
    gc playground
    command changes to the stand-alone electron app after the installation? because it still takes me to the web version whenever I run it on my local project
    a
    • 2
    • 6
  • n

    nilan

    11/21/2017, 5:29 PM
    We're currently designing the new features of the GraphQL API 🎉 This includes * cascading deletes * aggregations * better nested mutations * and more Feedback welcome: https://www.graph.cool/forum/t/feedback-new-features-for-the-graphql-api/1677?u=nilan 💪
    🦜 5
    🚀 5
    👍🏻 7
    ❤️ 7
    graphcool 4
    🎊 4
    p
    • 2
    • 1
  • d

    Dukuo

    11/21/2017, 5:50 PM
    hey @agartha, check https://www.graph.cool/forum/t/cant-test-permission-queries-using-permission-tabs-nor-create-them-using-the-consoles-ui/1661/6 maybe it can help you with your permissions query stuff
    a
    • 2
    • 9
  • p

    picosam

    11/21/2017, 6:05 PM
    Hello! Does Graphcool Cloud Community Edition have the Graphcool Dashboard as well?
    n
    • 2
    • 4
  • d

    Dukuo

    11/21/2017, 6:13 PM
    what's the expiration time of a user's token generated by
    graphcool-lib
    ?
    n
    • 2
    • 2
  • m

    mimica

    11/21/2017, 6:20 PM
    @nilan how does files count towards pricing?
  • j

    johhansantana

    11/21/2017, 6:26 PM
    https://spectrum.chat/explore
  • j

    johhansantana

    11/21/2017, 6:26 PM
    have you guys done the channel here?
    d
    • 2
    • 2
  • p

    panzupa

    11/21/2017, 6:40 PM
    Hi Guys, I need an advice on React + auth0 + GC + s3 + lambda integration, anyone has experience?
  • p

    panzupa

    11/21/2017, 6:41 PM
    well, I guess react and GC is irrelevant here 🙂
  • d

    doug_w

    11/21/2017, 6:46 PM
    I have created a function that is of event type
    REQUEST PIPELINE -> ADDRESS IS CREATED
    . Basically before an Address is saved in the database, the function should use the Google Maps API to get the geolocation information and add it to the address before save. The
    promise
    to get the geolocation info works in a regular node ENV. I am unable to use the info my promise returns in order to tac it on to the address. The event always comes back blank.
    Copy code
    'use strict'
    
    const googleMapsClient = require('@google/maps').createClient({
      key: 'SUPER_KEY'
    })
    
    const getGeolocation = (address) =>
      new Promise((resolve, reject) => {
        googleMapsClient.geocode({
          address: address
        }, (err, response) => {
          if(err) { 
            resolve(err)
          } else {
            const locationResult = response.json.results[0].geometry.location
            const geolocation =  {
              lat: locationResult.lat,
              lng: locationResult.lng,
              isGeolocated: true
            }
            resolve(geolocation)
          }
        })
      })
    
    module.exports = function (event) {
    	getGeolocation('1600 Amphitheatre Parkway, Mountain View, CA')
      		.then(geolocation => {
        		event.data.lat = geolocation.lat
          		event.data.lng = geolocation.lng
          		event.data.isGeolocated = geolocation.isGeolocated
          		return {data: event.data}
        	})
      		.catch(err => console.log(err))
    
          return event
    }
    Is this not a proper use case for this type of function? Edit I have dumbed down my initial approach a lot. I can not get it to modify the input, or return any value what’s so ever:
    Copy code
    export default event => {
      console.log(`event: ${event}`)
      event.data.billingPhone = "3333333"
      return event
    }
  • e

    ersherr

    11/21/2017, 6:47 PM
    quick question! is schema extensions still a thing you need to be invited to?
    d
    n
    j
    • 4
    • 10
  • d

    Dukuo

    11/21/2017, 7:13 PM
    I'm curious, in the permissions tab there's a legend in the middle with some useful variables, but unless they re specified in the QUERY VARIABLES panel there's no access to them.. is that expected? I mean, is that middle panel only informational? Because if that's the case, then it would be better off as a modal component from a UI POV, specially for those we have 720p monitors for example.
  • j

    Jhony Reyes

    11/21/2017, 8:36 PM
    Hello, I have some data recorded, but I need to add a relationship to all of them, I have tried the relationship by Id and it works, but I need to add the relation to all my data, how can I do it?
    d
    • 2
    • 1
  • a

    aurnik

    11/21/2017, 9:11 PM
    Is there some kind of overall issue for dealing with permissions right now? I’m seeing a couple questions popping up here and on the forums and I’m getting insufficient permission errors when running scripts as an admin
    n
    • 2
    • 2
  • d

    doug_w

    11/21/2017, 9:33 PM
    Has anyone upgraded a real world project to use the framework (from legacy project)? It seems pretty straightforward but for some reason I am scared. Were there any hiccups? Was it easy to migrate away from integrations and into templates? Have the examples and documentation progressed to the point that you have no trouble researching topics?
    n
    s
    • 3
    • 4
  • m

    matty

    11/21/2017, 9:56 PM
    @nilan any update on disabling the algolia integration? major blocker for upgrading to Framework
    ☝️ 1
  • m

    matty

    11/21/2017, 9:57 PM
    if its not possible right now, please let me know. I could try to write a script to migrate our data to a new project
  • m

    matty

    11/21/2017, 10:05 PM
    anyone else following along, here's a github issue - https://github.com/graphcool/framework/issues/1281
    👍 1
  • c

    cachemoi

    11/21/2017, 11:12 PM
    Hi, can I ask a question about the templates here or is it better to post it on stackoverflow?
    i
    • 2
    • 2
  • e

    ersherr

    11/21/2017, 11:12 PM
    hey! what are people typicaly using to validate their schema? the graphql CLI seems upset that i don’t have a type “Query” defined
  • e

    ersherr

    11/21/2017, 11:14 PM
    (but the graphcool examples don’t have that)
  • e

    ersherr

    11/21/2017, 11:56 PM
    (hm, it also doesn’t know about the DateTime type)
1...443444445...637Latest