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

    thienpow

    09/30/2016, 7:07 AM
    @jero2rome that would confuse yourself, best is to pick 1
  • r

    rene

    09/30/2016, 10:06 AM
    @olatom The import feature works as the following: if you have a model with this schema:
    awesome: Boolean | hello: Int | stuff: String
    then you’ll need a JSON that looks like this:
    Copy code
    [{
    	"awesome": true,
    	"hello": 123,
    	"stuff": "Hello world"
    },{
    	"awesome": false,
    	"hello": 0,
    	"stuff": "Hello world2342"
    },{
    	"awesome": true,
    	"hello": 7897,
    	"stuff": "world"
    }]
  • s

    sorenbs

    09/30/2016, 10:17 AM
    @jero2rome We use both Relay and Lokka in the dashboard, so it is certainly possible. You can have a look at our implementation here https://github.com/graphcool/dashboard That being said, the main reason to use relay is that it manages data caching and batching of requests, and this only really works when you use relay for everything. in the Graphcool Dashboard we use Lokka to fetch data for the data browser as the schema can change at runtime (when you change the schema in the dashboard), so that doesn't really work with Relay. We use Relay for everything else and are really happy with it.
  • o

    olatom

    09/30/2016, 10:20 AM
    thks @rene my file is exactly like that and it doesn’t seem to be working. I will send you the file
  • r

    rene

    09/30/2016, 10:20 AM
    @jero2rome which issues are you running into with Relay. For a normal use case (unlike what we did in the dashboard) using Relay should be more than sufficient.
  • r

    rene

    09/30/2016, 10:20 AM
    If you need help with Relay, I can highly recommend www.learnrelay.org.
  • j

    jero2rome

    09/30/2016, 10:47 AM
    I'm happy to use Relay. It does take care of all heavy lifting for us. I have to integrate it with fullcalendar.js to schedule appointments. This will be the most complex part of my app. Apart from tat everything else is simple controls. Gonna try out ur dashboard example. Thanks.
  • e

    emma

    09/30/2016, 12:32 PM
    Hi everyone!
  • n

    nilan

    09/30/2016, 12:33 PM
    hi @emma and @kathrine.nicolaisen simple smile
  • k

    kathrine.nicolaisen

    09/30/2016, 12:33 PM
    Hello!
  • s

    sashko

    09/30/2016, 7:16 PM
    sup
    👋 3
  • n

    nilan

    09/30/2016, 7:17 PM
    why hello there
  • t

    thomaslove

    10/01/2016, 12:38 PM
    Hey all!
  • s

    sorenbs

    10/01/2016, 12:38 PM
    Welcome Thomas!
  • t

    thomaslove

    10/01/2016, 12:38 PM
    Your onboarding tutorial is pretty neat
  • t

    thomaslove

    10/01/2016, 12:39 PM
    Great fun
  • t

    thomaslove

    10/01/2016, 12:39 PM
    (although you might wanna check for a few spelling mistakes)
  • s

    sorenbs

    10/01/2016, 12:40 PM
    hehe, thanks. I'll make sure to fix spelling errors. We just launched the new onboarding flow the other day, so would love any feedback, especially if there are places where you got stuck or confused.
  • t

    thomaslove

    10/01/2016, 12:41 PM
    There was one little bug I spotted
  • t

    thomaslove

    10/01/2016, 12:41 PM
    When using graphiql in the playground, I think when you close the popover and reopen it, it resets graphiql
  • t

    thomaslove

    10/01/2016, 12:42 PM
    I wanted to check back to see the right syntax to type and it reset my query I was part way through typing
  • t

    thomaslove

    10/01/2016, 12:43 PM
    BTW: Is there somewhere I can submit feature requests
  • s

    sorenbs

    10/01/2016, 12:45 PM
    We track issues on github, but that's mostly for bugs and features already in development https://github.com/graphcool/dashboard/issues
  • s

    sorenbs

    10/01/2016, 12:45 PM
    We'll be setting up a proper place to track feature requests shortly, but meanwhile feel free to suggest features here in the channel
  • t

    thomaslove

    10/01/2016, 12:47 PM
    It’d be nice to see a Location as a schema field type
  • t

    thomaslove

    10/01/2016, 12:47 PM
    (See https://scaphold.io/docs/#location-services for inspiration)
  • t

    thomaslove

    10/01/2016, 12:48 PM
    Also custom/arbitary actions would be nice. Ones that aren’t triggered by events but are triggered by a custom/manual mutation
  • t

    thomaslove

    10/01/2016, 12:48 PM
    Second one is less important
  • t

    thomaslove

    10/01/2016, 12:48 PM
    But location type would be really useful!
  • s

    sorenbs

    10/01/2016, 12:53 PM
    Do you have a specific use case in mind for geo searches? We will probably be providing an integration with Algolia to provide high quality full text searches and faceted search. They also have support for geo search https://www.algolia.com/doc/guides/geo-search/geo-search-overview#introduction Would that be a compelling solution for you?
1...192021...637Latest