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

    dannyql

    10/08/2017, 10:50 PM
    FROM THE DOCS
    File uploads using the File API are not governed by the permissions on the File type. As such, everyone can upload files to your project. Please reach out in the Forum or Slack if you have any questions about this.
    Is it possible to secure file upload capabilities, if so how?
    a
    • 2
    • 9
  • j

    Josef Henryson

    10/09/2017, 8:54 AM
    why can’t I scroll the page in the graph.cool console? using Mac OS X, Chrome… is it only me or the same for everyone?
    a
    • 2
    • 9
  • j

    jferrettiboke

    10/09/2017, 11:18 AM
    I am not able to use
    graphcool deploy
    even if I install last version,
    graphcool@1.4.0
    . I got errors. Why? What version should I use to start deploying local functions?
    a
    • 2
    • 9
  • r

    rein

    10/09/2017, 1:37 PM
    is there a centralized place to ask for a feature implementation?
    d
    • 2
    • 2
  • h

    huv1k

    10/09/2017, 1:37 PM
    github 🙂
    👍🏻 1
  • p

    Phil

    10/09/2017, 2:23 PM
    hey guys—I know this channel is mostly about graphcool, but are there any good resources to figure out how to set up a runner (ava, for example) for chromeless? just trying to figure out a good setup for it. Thanks again guys! And great work!
    o
    • 2
    • 1
  • j

    Josef Henryson

    10/09/2017, 2:48 PM
    I’m trying to create a many-many relation in my schema, but I do not want the fields to be required, but it seems they are set to required even though I don’t define this… [User] => [User!]! Is it mandatory to have these relations as required?
    a
    • 2
    • 6
  • j

    Josef Henryson

    10/09/2017, 4:36 PM
    these naming conventions of mutations and variables etc, are they graphcool specific, or is it GraphQL standard?
    a
    • 2
    • 1
  • j

    jferrettiboke

    10/09/2017, 5:03 PM
    What is the difference between Modules and Templates? It is not clear enough.
    a
    • 2
    • 2
  • r

    rein

    10/09/2017, 5:29 PM
    hey guys, this is less a graph.cool question but a bit more general, if you would indulge me. I'm making an app with a bidirectional friendship feature. Like facebook/instagram. Would someone be able to tell me what the best practice is on database level? A friendship table, with 2 rows per friendship? And a status like 'accepted', deleted, sent, ...
    a
    j
    • 3
    • 12
  • u

    _p1ayer_one

    10/09/2017, 5:48 PM
    Hello everyone! I'm wondering if it was possible to connect schema-data with React views. For example, if I have:
    Copy code
    type Bob implements Node {
      id: ID! @isUnique
      foo: String!
    }
    I'd like to programmatically render a form with text "foo". And later, if I change it to "bar", I'd like the view to reflect that. So, is there a way we can import types into React? Or somehow use the project.graphcool file?
    a
    • 2
    • 2
  • c

    chandlervdw

    10/09/2017, 7:32 PM
    Is there a way to make a uniqueness constraint on a field based on a relationship? i.e. Say I have one to many Orgs to Campaigns. I want a vanityURL on the campaign to be unique, but only to the Campaigns in that Org.
  • p

    Pkmmte

    10/09/2017, 7:35 PM
    @chandlervdw You might be able to achieve that using a Request Pipeline function. I'm doing something similar for auto-generated slugs.
    c
    n
    • 3
    • 13
  • p

    panzupa

    10/09/2017, 7:44 PM
    Hi All, I need your advice on permission queries. In my project I have of course type
    User
    it is used only to authenticate against auth0 and it is connected with
    MyUser
    (one-to-one) type - which contains all user information. The
    MyUser
    can have many
    CompanyAssignments
    .
    CompanyAssignement
    is type that definies relation between
    MyUser
    and any
    Company
    that I have in my system. For example MyUser Joe can be Admin of Facebook (first instance of CompanyAssignment) and Joe can also be Contractor for Google (second instance of CompanyAssignment). Now I want to write query permission that will check type of CompanyAssignment that MyUser has (ie. Admin can edit, contractor can view etc.). Is that even possible given that I only have access to $node_id and $user_id in permission query?
  • l

    lastmjs

    10/09/2017, 10:12 PM
    Is logging still broken in functions? It doesn't look like my console.log calls are showing up anywhere in the logs property of my log output
    a
    • 2
    • 1
  • t

    Tim Smith

    10/09/2017, 10:13 PM
    "Either load a local repository with a .graphqlrc file, or just display a remote endpoint" What's a .graphqlrc file? I get nada in search on both slack and google.
  • t

    Tim Smith

    10/09/2017, 10:15 PM
    Ah... It's looking for a graphqlconfig file. Should fix the New Workspace modal in Playground.
  • t

    timbuckley

    10/09/2017, 10:33 PM
    Question: Is
    implements Node
    a necessary part of the type?
    a
    • 2
    • 2
  • t

    timbuckley

    10/09/2017, 10:34 PM
    As in
    type Address implements Node {...}
  • t

    Tim Smith

    10/09/2017, 10:47 PM
    Is there any way to use Playground to read and write .graphql files to a plain old directory? I've downloaded the stand-alone version and loaded a project with a valid .graphqlconfig file. So far so good. Except that I can't see any of my schema, and when I write new ones they don't get saved anywhere. Puzzled. Obviously I'm missing something.
    a
    • 2
    • 2
  • t

    timbuckley

    10/09/2017, 11:27 PM
    Copy code
    The relation field `student` cannot be made required, because there are already instances of the enclosing type that violate this constraint.
    ^This warning means that some of my data I've uploaded data that doesn't have the
    student
    field, is that right?
  • t

    timbuckley

    10/09/2017, 11:27 PM
    How can I fix this issue?
    a
    • 2
    • 1
  • y

    ylac

    10/10/2017, 1:14 AM
    Has anyone been able to get auth0 authentication working on react-native using the new react-native-auth0 module?
    ⛔ 1
    a
    • 2
    • 3
  • l

    lastmjs

    10/10/2017, 3:33 AM
    How do I get the latest beta for the CLI?
    npm install graphcool@beta
    or
    npm install graphcool@next
    ? Am I missing something?
    y
    a
    • 3
    • 2
  • l

    lastmjs

    10/10/2017, 3:36 AM
    Does graphcool.yml allow for permissions to be specified in another file?
  • l

    lastmjs

    10/10/2017, 3:45 AM
    Is there a way to specify which fields a permission applies to in
    graphcool.yml
    ?
  • l

    lastmjs

    10/10/2017, 3:52 AM
    It looks like functionality for permissions are not ready if using the new CLI and an ejected project, is that correct?
  • l

    lastmjs

    10/10/2017, 4:33 AM
    Because specifying permissions on individual fields is vital
    a
    • 2
    • 6
  • a

    albeik

    10/10/2017, 7:01 AM
    @nilan created my first function resolver 👍 worked as expected! Is there a plan to allow passing parameters to the test run in the function editor (v.s. having to update>playground)?
  • t

    Tavo

    10/10/2017, 7:03 AM
    I’m a bit confused with graphcool CLI versions
1...365366367...637Latest