Replies: 1 comment
-
|
There was an idea to do this together with the custom queries feature, to reduce the performance overhead from Pydantic relations. That’s a substantial change and needs a solid plan. We need to decide whether to move away from Pydantic and rely only on built-in Python features (which is a good direction), but then everyone who uses Pydantic would need to switch to TypedDict. So we’d need to keep a legacy code path that still generates Pydantic classes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We could avoid marshalling json blobs into classes at runtime, and instead rely on the type safety guarantees already provided of the server.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions