Skip to content

Order collection cannot be generic over order status #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gadomski opened this issue Apr 2, 2025 · 0 comments
Open

Order collection cannot be generic over order status #59

gadomski opened this issue Apr 2, 2025 · 0 comments
Labels
[package] stapi-pydantic Pydantic models for STAPI data structures

Comments

@gadomski
Copy link
Member

gadomski commented Apr 2, 2025

features: list[Order[T]]
links: list[Link] = Field(default_factory=list)

Different orders might have a different status, so T can vary over the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[package] stapi-pydantic Pydantic models for STAPI data structures
Projects
No open projects
Development

No branches or pull requests

1 participant