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

    efvaldez

    12/15/2017, 3:33 AM
    Links and Tags have many to many relationship. Thanks!
  • u

    uknamboodiri

    12/15/2017, 3:50 AM
    hey, finding issues testing end-2-end the app built using graphql & react
  • u

    uknamboodiri

    12/15/2017, 3:50 AM
    any good solutions/pointers
  • u

    uknamboodiri

    12/15/2017, 3:51 AM
    interested in testing page by page that has multiple react components
  • u

    uknamboodiri

    12/15/2017, 3:53 AM
    how are you guys performing page-by-page tests? where graphql is involved
  • m

    Maslov

    12/15/2017, 4:05 AM
    hello - can anybody help me - I have [Int!] products list, how I can filter by this field? I have to select all orders with same products list I tried
    products_contains_every: [ 263629,  284848, 314496, 314816, 316265 ]
    but it doesnt work,
    products: [1,2,3]
    also doesn’t
    Copy code
    Argument 'filter' expected type 'OrderFilter' but got: Field 'products_contains_every' is not defined in the input type 'OrderFilter'
    ...
    a
    • 2
    • 2
  • m

    m.b.iqbal

    12/15/2017, 4:39 AM
    Hello All, Does anybody know if there is a limit on how many ids can be stored in a relation field. For instance if a user has many posts and the the user table has a relation column Posts, is there a limit to how many post a user can have?
  • p

    Patrick

    12/15/2017, 5:37 AM
    Trying to get the desktop app for gql playground to open a local js schema ... is there are room for nOObs? Im just learning gql
    m
    • 2
    • 7
  • c

    czysty

    12/15/2017, 6:16 AM
    Hello everyone, I would like to use graph.cool in my application but I need to import few data into database and one of these data has tree structure it is possible to do this in graph.cool?
  • u

    uknamboodiri

    12/15/2017, 7:10 AM
    issues what i can see today after creating a react app using graphql is that when testing (Jest) the app. the handler fucntions do not get executed bcoz gql is present, unable to pass param values
  • u

    uknamboodiri

    12/15/2017, 7:11 AM
    any good thoughts on how to handle this situation?
  • p

    panzupa

    12/15/2017, 7:18 AM
    Good morning 🙂
    👋🏻 1
  • p

    panzupa

    12/15/2017, 7:56 AM
    Need help with one thing. I need to have sorting on GUI layer and want to implement it in db layer (Relay). It's easy to sort by primitive fields such as
    Customer.name
    where
    name
    is a string. But how to implement
    orderBy
    on connection? Let's say
    Customer
    has connection to the
    Address
    type which has a
    city: String
    field. Now I want to sort Customers by city name. How to do that in GraphQL / GraphCool?
    a
    • 2
    • 5
  • e

    Emi

    12/15/2017, 9:20 AM
    Where can we find Graphcool 1.0 specific documentation?
  • p

    preetb123

    12/15/2017, 9:26 AM
    i am trying to listen to all the created posts inside graphql playground using subscriptions, but getting error
  • p

    preetb123

    12/15/2017, 9:26 AM
    Cannot read property 'subscribe' of undefined
  • p

    preetb123

    12/15/2017, 9:27 AM
    i have entered the subscriptions url in the new tab wss://subscriptions.graph.cool/v1/....
  • f

    fabien0102

    12/15/2017, 9:30 AM
    Hello 🙂 I want to use the new
    graphcool-binding
    on my graphcool endpoint (to avoid rewrite all my mutations for my data migration 🙂 ) but it's not working… I have a classic graphcool project (graphcool/0.10.1) with
    types.graphql
    in my graphcool.yml, a generated schema provide by
    graphql get-schema
    and trying to use this with the following code:
    Copy code
    const graphcool = new Graphcool({
        schemaPath: "schema.graphql",
        endpoint,
        secret: token
      });
    
      console.log(await graphcool.query.biomarkers(null, "{id labKey}"));
    And I have this as error:
    Copy code
    TypeError: Cannot read property 'type' of undefined
        at Object.getTypeForRootFieldName (D:\Projets\baze\nis-graphcool\node_modules\graphcool
    
    -binding\dist\src\utils.js:29:54)
        at Object.buildFragmentInfo (D:\Projets\baze\nis-graphcool\node_modules\graphcool-bindi
    
    ng\dist\src\prepareInfo.js:41:24)
        at Proxy.<anonymous> (D:\Projets\baze\nis-graphcool\node_modules\graphcool-binding\dist
    
    \src\index.js:103:38)
        at module.exports (D:\Projets\baze\nis-graphcool\migration\uploadToGraphcool.js:29:37)
        at inquirer.prompt.then (D:\Projets\baze\nis-graphcool\migration\main.js:90:13)
        at <anonymous>
    Any ideas to fix this? 🙂
    n
    • 2
    • 1
  • n

    notrab

    12/15/2017, 10:04 AM
    Any examples online about self references relations, like
    Category
    with subCategories anyone here has seen interesting?
  • j

    joar

    12/15/2017, 10:11 AM
    @notrab I’m implementing the exact same thing soon, please ping me if you get a good answer 😄
  • j

    joar

    12/15/2017, 10:11 AM
    I’ll msg you if I see a good solution
    👍 1
  • h

    huv1k

    12/15/2017, 10:18 AM
    I was plying with it too, but main downside is that is hard to query, because you don't know ho many nested subCategories you have for example.
    a
    • 2
    • 4
  • o

    Oleg Galaburda

    12/15/2017, 10:48 AM
    Hello! I am going to implement this, but you may save me some time. 🙂 I have a type MyType in graphcool, can I create a resolver with name "allMyTypes" and will it replace/alter default mechanism for handling queries?
    a
    • 2
    • 2
  • j

    Jonas

    12/15/2017, 11:17 AM
    Hello, I would like to use File Management from Graphcool API as a convenient way to use with my Graphcool database. But it seems it's in a very basic stage at the moment and would like more info about it. Is it possible to temporarily send files to the server before save them in database? For example, when a user follow a form (let's say edit its profil) with an upload field for its avatar. The main idea would be to upload the image, display a preview of it in the form and give additional options to crop it for example. Then when the user Submit the form - and only if he submit it - the system store the file into database. In all others cases, the temporary uploaded file is automatically deleted (with no database record). For example: - if user, finally, do not submit the form - Or if the user, after uploading a first image, decide to change the image by another one during the process, the previously one will not be recorded in database and automatically deleted.
    a
    m
    • 3
    • 6
  • p

    preetb123

    12/15/2017, 11:27 AM
    hi can anybody help me with integrating subscriptions. i am not able to get anything from documentation.
  • p

    preetb123

    12/15/2017, 11:28 AM
    i am using quickstart-with-apollo with the generated endpoints and trying to add subscriptions to get newly added posts.
  • p

    preetb123

    12/15/2017, 11:31 AM
    not able to test in graphql playground also
  • d

    dzbo

    12/15/2017, 1:17 PM
    Hello, is there a way to do cross database foreign keys? I’m building multi-database system and need to wire up between them.
    a
    • 2
    • 2
  • c

    chakrihacker

    12/15/2017, 2:34 PM
    Hello @nilan since many big changes are happening, will graphcool framework going to stay as it is or it gets under graphql yoga or something, I really like how graphcool abstracts everything and gives me to define schema, queries but with those changes and graphql cli I feel it's may not be developer friendly anymore, please throw some thoughts on the current direction
    n
    l
    • 3
    • 8
  • a

    agartha

    12/15/2017, 3:30 PM
    Hi, I was trying to find where it was described to remove the
    @relation
    directive completely in 1.0, because I wonder how the backtracking field will be populated when there's more than one relationship between two types. Anyone have a link?
    n
    • 2
    • 6
1...472473474...637Latest