Patrick Arminio
Patrick Arminio
@erikwrede I think we might need to do some work to make `@oneOf` show in the exported schema in GraphQL-core alpha 🤔
@erikwrede it is there 😊 https://github.com/graphql-python/graphql-core/commit/b7a18ed48b7d97a79c2d0db5a8b53d820c67b8d2 but we don't use that directly (we made our custom thing) 😊
> I can work on switching our custom thing over to the core implementation though if the version matches. Do we have a central place for feature toggles based on...
@bellini666 this is a bit complicates, since it ties into what we wanted to do for the internals refactoring. I have a draft doc about this here: https://gist.github.com/patrick91/5db99abb90b2485679126dbb0e5da20d I also...
@richardhenry I think this has been always broken :( I think we need some refactoring on how we create scalars, I'll reopen this 😊
In a (hopefully) not distant future, you'd be able to do this: ```python @strawberry.pydantic.type class UserDoc(Document): email: str name: str ... # many more fields secret_hash: Annotated[str, strawberry.Private()] ``` would...
> [@patrick91](https://github.com/patrick91) That is a really great proposal. I guess this would support static time typing analysis in future Python versions? what do you mean exactly? :D
I see, well, that's not up to us :D But annotated is pretty standard, so I'm pretty sure it will be fine, though I don't know if there's any plans...
> UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater. interesting, can you post the full warning? and deps you have?
going to fix this today!