Comments (10)
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.
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.
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
from cruddl.
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.
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.
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.
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.
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.
would be happy to hear about your feedback -
please comment on the right issue
#101
Tks
from cruddl.
@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)
- Logging configuration HOT 8
- Possible to alias a collection name?
- Why not focus on graph databases?
- Dynamic arangodb database change
- Subscriptions HOT 1
- Puzzled - relations HOT 1
- Unable To Complie With Typescript HOT 1
- Custom Edge Names HOT 2
- Project status / roadmap HOT 11
- Imperformant queries on flex search with cursor HOT 1
- How would you recommend we implement a different DB
- Interface in Array HOT 1
- Collect last entity in chain HOT 6
- Establish entity relationships using natural keys HOT 5
- Cruddl compatibility with multi-node ArangoDB clusters HOT 11
- Schema generation removing non-null rules HOT 1
- Is there a solution to pass the (permissions related) "userId" to mutated objects? HOT 3
- Permisions claim check field with multiple values? HOT 2
- Is it possible to ignore permissions check on a @relation and have id accessible to the permissions-profile? HOT 1
- Sorting nested fields HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cruddl.