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

    loicsaintroch

    06/13/2016, 8:27 AM
    I understand.
  • l

    loicsaintroch

    06/13/2016, 8:42 AM
    But still, is it possible to debug the open-source repos? At least we can try it freely and give more feedback.
  • m

    max

    06/13/2016, 9:26 AM
    Hi guys, this product looks great ! But i have the same problem as loicsaintroch, with 'estraverse-fb'
  • s

    sorenbs

    06/13/2016, 9:33 AM
    Hey loicsaintroch 🙂 Our backend contains two parts. The first part is the api layer that is responsible for generating the graphql schema from the internal representation, creating the correct mutations, performing validation etc. This part is open source. For the api layer to be useful though it requires you to plug in a backend that is responsible for fulfilling requests from the api layer, such as querying and creating data. We have a multi tenant implementation of the backend that we use in production, but unfortunately it is too coupled to our infrastructure to simply open source. We are in the process of refactoring the entire thing, which will enable us to provide a version of the backend you can host yourself. It’s a fairly big task and we don’t have an eta yet.
  • l

    loicsaintroch

    06/13/2016, 9:36 AM
    @sorenbs: All right thank you for the details. So if I understand correctly, the stack will be completely open-source in the next few weeks/months?
  • s

    sorenbs

    06/13/2016, 9:38 AM
    We will continue to have an internal multi-tenant implementation of the backend, but we want to provide a simple implementation of the backend that you can host on your own.
  • l

    loicsaintroch

    06/13/2016, 9:40 AM
    Sounds great! 🙂
  • s

    sorenbs

    06/13/2016, 9:40 AM
    We simply didn’t have time to work on it yet and until now we have seen an overwhelming demand for new features in the hosted version, so that is where we have been spending our time. Really looking forward to get the open source implementation ready though!
  • l

    loicsaintroch

    06/13/2016, 9:42 AM
    Yes I understand. Please let me know when you fixed the open-source version though, I’d love to contribute.
    🙂 1
  • s

    sorenbs

    06/13/2016, 9:43 AM
    That would be amazing! I’ll reach out to you when we are ready for it.
  • l

    loicsaintroch

    06/13/2016, 12:42 PM
    @sorenbs: When do you think you’ll be ready for it?
  • m

    max

    06/13/2016, 3:38 PM
    this looks really promising, i would love to try the self-hosted version and contribute too
  • l

    loicsaintroch

    06/13/2016, 6:08 PM
    The only thing I can get working is by installing the version from npm … But then it crashes on a request and the dashboard still doesn’t work.
  • s

    schickling

    06/13/2016, 8:49 PM
    @loicsaintroch: we’ll let you know as soon as our new backend infrastructure is ready for being open sourced. However we won’t use NodeJS anymore since it’s no longer the right fit for us.
  • l

    loicsaintroch

    06/14/2016, 1:48 PM
    Hey! I finally got the open-source API and dashboard built. The API is running. But impossible to start the dashboard properly because I have this error in the API :
    PersonSortBy values must be an object with value names as keys.
    How can I fix this?
  • s

    sorenbs

    06/14/2016, 1:49 PM
    Can you share the query that generates this error?
  • s

    sorenbs

    06/14/2016, 1:50 PM
    Way cool that you are hacking away on this btw 🙂
  • l

    loicsaintroch

    06/14/2016, 1:50 PM
    No query in particular. I just made the API up and running, but as soon as I start the dashboard connected to the API the dashboard can’t display anything because the API returns this error.
  • s

    sorenbs

    06/14/2016, 1:51 PM
    Could you copy the exact request from the network tab in chrome dev tools?
  • l

    loicsaintroch

    06/14/2016, 1:51 PM
    (I run the API thanks to your example in https://github.com/graphcool/api/tree/master/examples/books)
  • s

    sorenbs

    06/14/2016, 1:51 PM
    The body contains the query
  • s

    sorenbs

    06/14/2016, 1:52 PM
    I’m afraid that example might be horribly out of date...
  • l

    loicsaintroch

    06/14/2016, 1:52 PM
    I can’t run the dashboard properly because it can’t access the API correctly probably because the example doesn’t work
  • l

    loicsaintroch

    06/14/2016, 1:53 PM
    So … kinda messy
  • l

    loicsaintroch

    06/14/2016, 1:53 PM
    I have this config in my dashboard :
    "react-relay-schema": "<http://localhost:60000/schemas>”
  • l

    loicsaintroch

    06/14/2016, 1:54 PM
    And the default route you give in the example without
    .json
  • s

    sorenbs

    06/14/2016, 1:55 PM
    You could try to isolate it a bit by running the dashboard against the production api
  • l

    loicsaintroch

    06/14/2016, 1:56 PM
    it’s already in a production env
  • s

    sorenbs

    06/14/2016, 1:56 PM
    When you have verified that the dashboard is running correctly you could return to the backend.
  • l

    loicsaintroch

    06/14/2016, 1:56 PM
    Not working….
1...456...637Latest