Patrick Arminio

Results 669 comments of Patrick Arminio

@anthonycorletti the combo stuff is interesting, [mise](https://mise.jdx.dev/) does it like this: ``` [tasks.fetch-openapi] run = "curl localhost:8000/api/v1/openapi.json -O" [tasks.modify-openapi] run = "node modify-openapi-operationids.js" depends = ["fetch-openapi"] ``` but I wonder...

I know this doesn't help much, but in my case, just add adding a test with a basic assert triggers the issue (on GitHub action) ```python @time_machine.travel("2025-06-01 12:00:00+00:00", tick=False) #...

@mecampbellsoup I don't think we can fix this unfortunately :( This might be fixed/worked-around by supporting this (which we want to do in #2181) ```python @strawberry.pydantic.type class CurrentUser(pydantic.BaseModel): email: str...

@frankie567 I've update this to use a different style of defining the discriminator, which also makes the OpenAPI schema better 😊 Previous schema: ```python { "openapi": "3.1.0", "info": {"title": "FastAPI",...

don't know if this helps, but attrs has a concept of validators: https://www.attrs.org/en/stable/init.html#validators

@stygmate would using Pydantic work for your use case?

@stygmate so you want to use django built-in validation? can you show me an example? 😊

I'm still waiting to hear from Vercel if we can keep the sponsorship 😊

@godfryd thanks for the report Michal, we really need to refactor these projects here!

hi @parafoxia I think this is our fault in not documenting it well 😊 I made an example of operation directives: https://play.strawberry.rocks/?gist=30af63743c03d47044fe798240ca0f44 They are used when sending the operation :)...