question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug in version 0.2.0 all_posts = MongoengineConnectionField(Posts)

See original GitHub issue

After 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:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
anilwarbhecommented, Apr 16, 2019

Yes! Thanks a lot! Updated manually to the latest. Working now.

0reactions
anilwarbhecommented, Apr 16, 2019

pip install --upgrade graphene-mongo==0.2.2 throws error

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found