graphene-django-cud icon indicating copy to clipboard operation
graphene-django-cud copied to clipboard

Easy and painless CUD-mutations for graphene-django.

Results 35 graphene-django-cud issues
Sort by recently updated
recently updated
newest added

The reason for this is that the queryset being lazily evaluated on return no longer matches the original filter. Fixing this _may_ require prefetching all the results of the update...

bug

Bumps [django](https://github.com/django/django) from 2.2.27 to 2.2.28. Commits 5c33000 [2.2.x] Bumped version for 2.2.28 release. 29a6c98 [2.2.x] Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against... 2c09e68 [2.2.x] Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(),...

dependencies

```py class CreateTableMutation(mutations.DjangoCreateMutation): class Meta: model = Table exclude_fields = ('owner',) create_column = CreateTableColumnMutation.Field() @classmethod def before_save(cls, root, info, input, obj: Table): obj.owner = User.objects.get(pk=1) return obj ``` I've the...

bug

Support manual database selection mentioned here: https://docs.djangoproject.com/en/3.1/topics/db/multi-db/

enhancement

I have these models: class Employee(models.Model): name = models.CharField(max_length=30) offices = models.ManyToManyField( "Office", through="Assignment", blank=True, ) class Office(models.Model): name = models.CharField(max_length=30) class Assignment(models.Model): office = models.ForeignKey( "Office", on_delete = models.CASCADE,...

bug

Hi, I want to exclude a few fields on my related OneToOne model. I have the following code for my create mutation. The nested field `created` and `modifed` are still...

Would be nice having a field to restrict the available queryset for update and patch mutations based on context values. For example, say you have the field `organization` in the...

enhancement

Model: class Scholarship(models.Model): name = models.CharField(max_length=30) class Student(models.Model): name = models.CharField(max_length=30) rollno = models.CharField(max_length=30) scholarships = models.ArrayReferenceField(Scholarship, on_delete=models.CASCADE)

enhancement