Giter Club home page Giter Club logo

Comments (10)

itsezc avatar itsezc commented on May 10, 2024 2

A demo application (with authentication, custom resolvers) etc. would be awesome for beginners to show / explain the features and limitations of Cruddl, hoping on this with the v1 release.

from cruddl.

robross0606 avatar robross0606 commented on May 10, 2024 1

I think I have a similar situation in our setup. A good portion of our schema will be handled by cruddl. However, some things still need to be handled manually. This is especially true if not all of your graphql API is serviced by Arango. In our case, a portion of the API is a proxy for REST calls, while some serve other functional needs (testing, health check, etc.). My thinking right now is that some combination of schema stitching (merge-graphql, etc.) and/or federation techniques might get me there.

from cruddl.

Yogu avatar Yogu commented on May 10, 2024

In our set up, we serve the cruddl-generated schema directly on a server, then have other services that consume the schema of that server. That's the reason we never really needed dev tools to work with cruddl directly. A demo server would be a good idea, though 👍 I'll see what we can do.

from cruddl.

itsezc avatar itsezc commented on May 10, 2024

I think I have a similar situation in our setup. A good portion of our schema will be handled by cruddl. However, some things still need to be handled manually. This is especially true if not all of your graphql API is serviced by Arango. In our case, a portion of the API is a proxy for REST calls, while some serve other functional needs (testing, health check, etc.). My thinking right now is that some combination of schema stitching (merge-graphql, etc.) and/or federation techniques might get me there.

If by chance you have any plans to release some examples, I'd be in your debt as I've been looking to tackle this over the past few weeks

from cruddl.

itsezc avatar itsezc commented on May 10, 2024

In our set up, we serve the cruddl-generated schema directly on a server, then have other services that consume the schema of that server. That's the reason we never really needed dev tools to work with cruddl directly. A demo server would be a good idea, though 👍 I'll see what we can do.

This makes sense, however a typical setup would have Cruddl generate a schema -> write another service preferably in GraphQL again causing alot of repetition, I was hoping on a way to avoid it unless I'm missing something.

My current setup involves Orango (an ORM for ArangoDB) -> Apollo Server -> Apollo Client

with Cruddl (if I'm not misunderstanding) it would be: Cruddl -> Apollo Server -> Apollo Client

but the issue is I have to write a schema for Cruddl then rewrite it again for Apollo Server or atleast do some stitching / overwrite it with second layer causing alot of confusion and complexity, it would be much better if Cruddl can provide some sort of middleware alternative to make this stage easier.

from cruddl.

orefalo avatar orefalo commented on May 10, 2024

While I don't understand why you need multiple layers of graphQL.

Seems like Apollo federation, and indirectly, the ability for cruddl to generate a compatible federated schema would solve your issue.

That's exactly my use case !

from cruddl.

itsezc avatar itsezc commented on May 10, 2024

Since the time of my comment, I have done a lot of playing around with this whole issue and I agree (with you @orefalo) that as long as Cruddl is able to generate a compatible federated schema that would make life much easier.

from cruddl.

dijbi avatar dijbi commented on May 10, 2024

Hi

You can look into graphql-transform-federation for turning cruddl generated schema into a compatible federation schema. I have just begun to play with it, so i don't know if all cases are solved with this solution.
Hope it helps !

from cruddl.

orefalo avatar orefalo commented on May 10, 2024

would be happy to hear about your feedback -
please comment on the right issue
#101
Tks

from cruddl.

hardikbeladiya avatar hardikbeladiya commented on May 10, 2024

@itsezc Hi I have just Added the Authentication and My Custom resolver. contact me know if you are still interested as my code is NDA signed.

from cruddl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.