Bug in version 0.2.0 all_posts = MongoengineConnectionField(Posts)
See original GitHub issueAfter updating graphene-mongo from 0.18 to 0.2.0, I could not get “ListField(StringField())” types in query parameter. So I revert back to 0.18. For example:
query{ allPosts(here I can have all fields of posts collection except ‘selectedtags’ and ‘postpics’) }
in post_model.py I have following
class Posts(Document): meta = {'collection': 'posts'} categoryid = ReferenceField(Categories) cityid = ReferenceField(City) pdate = DateTimeField() content = DictField(required = True) selectedtags = ListField(StringField()) postpics = ListField(StringField()) featured = BooleanField()
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
graphene-mongo from graphql-python - Coder Social
Bug in version 0.2.0 all_posts = MongoengineConnectionField(Posts) ... allPosts(here I can have all fields of posts collection except 'selectedtags' and ...
Read more >Graphene MongoEngine integration - PythonRepo
Bug in version 0.2.0 all_posts = MongoengineConnectionField(Posts). After updating graphene-mongo from 0.18 to 0.2.0, I could not get ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes! Thanks a lot! Updated manually to the latest. Working now.
pip install --upgrade graphene-mongo==0.2.2 throws error