graphene-django-extras
graphene-django-extras copied to clipboard
Extras functionalities for Graphene-Django
Hi, the library seems to be unable to do something like the following, and it would be really nice if it could: ``` query{ books(ordering: ["name, id"]){ id name }...
i have a department serializer that include all fields except created_by and when using it DjangoSerializerMutation i am getting that createdBy is required so any any idea how to resolve...
Hi! Doing [this](https://github.com/eamigo86/graphene-django-extras/blob/master/graphene_django_extras/converter.py#L264): ```python @convert_django_field.register(models.DurationField) def convert_field_to_float(field, registry=None, input_flag=None, nested_field=False): return Float( description=field.help_text or field.verbose_name, required=is_required(field) and input_flag == "create", ) ``` results in this: ``` float() argument must be...
With this models: ```python class ProductionCompany(models.Model): name = models.CharField(max_length=200) class Movie(models.Model): title = models.CharField(max_length=200) production_company = models.ForeignKey(ProductionCompany, related_name="movies", null=True, blank=True, on_delete=models.CASCADE) ``` and these types: ```python class ProductionCompanyType(DjangoObjectType): class Meta:...
In the line from the readme: ```python users3 = DjangoListObjectField(UserListType, filterset_class=UserFilter, description='All Users query') ``` you reference `UserFilter` but that isn't imported or created anywhere in the example.
Hello @eamigo86, I'm having some trouble with creating nested objects like in DRF as explain in your post [https://github.com/graphql-python/graphene-django/issues/274#issuecomment-335191042](url) Here's what I got in **serializers.py**: ```python class BookingSerializer(serializers.ModelSerializer): class Meta:...
The request is similar to https://github.com/graphql-python/graphene-django/issues/176. I have a `DjangoSerializerType` that I'm trying to set `filter_fields` on its choice/enum field, however the enum field happens to be simply an String...
Our GraphQL schema uses snake_case, so we have `auto_camelcase` switched off: ```python schema = graphene.Schema(query=Query, mutation=Mutation, auto_camelcase=False) ``` This works fine for everything except for the `totalCount` field since it's...
Hi everyone, I would like to implement an easy permissions system. With original `graphene-django`, it was quite straightforward. It was sufficient to make a similar method for each field on...
Dear @eamigo86 , thanks a lot for this library. I only whish the documentation was a bit more detailed and surprisingly I wasn't able to find a single proper tutorial...