Skip to content
#

mongoengine

Here are 135 public repositories matching this topic...

abhaybhargav
abhaybhargav commented Apr 9, 2020

Hi

I have been using graphene-mongo for a while now. I use all resolvers and mutations post validation of an Access token in the HTTP Authorization header. However, I am not aware of how I can do that for a MongoengineCollectionField

For example, I have defined it as follows

class Query(graphene.ObjectType):
    all_projects_to_models = MongoengineConnectionField(Project)
bdragon300
bdragon300 commented Nov 13, 2020

Every migration could obey two policies:

  • "strict" (default) -- when existing field data types are checked during type convertion
  • "relaxed" -- when convertion is performed over converted data types only. Data of other existing types are ignored.

The task is to add cli parameter to makemigrations command with these values enum and pass a policy name to a migration template.

Improve this page

Add a description, image, and links to the mongoengine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mongoengine topic, visit your repo's landing page and select "manage topics."

Learn more