graphene-pydantic icon indicating copy to clipboard operation
graphene-pydantic copied to clipboard

Integrate GraphQL with your Pydantic models

Results 27 graphene-pydantic issues
Sort by recently updated
recently updated
newest added

I see the following comment in `PydanticObjectType.__init_subclass_with_meta__`: ``` # TODO: We don't currently do anything with interfaces, and it would # be great to handle them as well. Some options...

Ran into a bug trying to use `list[int]` as a field type on a `BaseModel` in Python 3.9. (Note it is also broken with Python 3.10.). Interestingly, things are handled...

With the code below ``` from pydantic import StringConstraints UnionId = Annotated[str, StringConstraints(min_length=28, max_length=28)] class UserModel(BaseModel): id: str avatar: str | None = None unionid: UnionId | None = None...

Bumps [setuptools](https://github.com/pypa/setuptools) from 68.0.0 to 70.0.0. Changelog Sourced from setuptools's changelog. v70.0.0 Features Emit a warning when [tools.setuptools] is present in pyproject.toml and will be ignored. -- by :user:SnoopJ (#4150)...

dependencies

given the type ``` class PersonInput(InputObjectType): name = Field(String, required=False) ``` and the mutation ``` class UpdatePersonMutation: class Arguments: person_data = PersonInput(required=True) def mutate(cls, root, info, person_data): print(person_data) ``` how...

Closes #104, #107 -- and adds a test to ensure this regression doesn't show up again.

when trying to build a model, I am getting the error: TypeError: Registry.register_object_field() got an unexpected keyword argument 'model' checked the method and it does not have "model" as argument......