Comments (4)
It's not supposed to cause any problem. But maybe one thing to do first, is try to have an error message of any kind. Do you have errors display enabled on your server?
Also, I'm curious what your GraphQL query looks like.
from laravel-graphql.
Okay, I think I see the problem. When the type is created, it needs itself to be created resulting in a recursive loop. Since GraphQL needs an instance of an object type to consider it as the same type, I don't really see how you can do it besides creating Comment, ChildComment, etc...
Anyway since you cannot use wilcard on GraphQL query, I don't see how you could query an infinite level of children.
from laravel-graphql.
sadly, this makes totally sense.
thanks for pointing this out.
from laravel-graphql.
I think this needs to be resolved somehow. Being able to do this sort of thing is fundamental to GraphQL. I see that they resolved this issue in the webonyx package already. What could be done to enable this here? I'd be willing to help with the effort to get it done.
from laravel-graphql.
Related Issues (20)
- What does the parameters of resolve($root, $args, SelectFields $fields, ResolveInfo $info) method mean? HOT 1
- Create new release for laravel 5.7 to pin version HOT 2
- How to cache query result together with relations HOT 1
- Testing coverage with GraphQL is always return 0% HOT 2
- Could not publish configuration file HOT 14
- How to use GraphQL UnionType?? HOT 2
- Query Variables Empty HOT 3
- Laravel 5.7 support HOT 1
- how to set depth for each query HOT 1
- How to output paging data? HOT 2
- Help needed - resolve call to microservice(s) HOT 2
- passing some extra value from GraphQLController@query method to Folklore\GraphQL\Support\Mutation@resolve? HOT 8
- What is the format for config/graphql.php middleware array? HOT 1
- feature/relay branch add support to Laravel 5.7
- Create contracts Type to use in all Graph type
- default (abstract) queries and mutations "crud"
- How to pass meta data to the Type? HOT 1
- query and mutation executing twice HOT 2
- Not compatible with PHP 7.3 HOT 1
- GraphQL Error: Variable of type "String" used in position expecting type "String!" 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 laravel-graphql.