Support passing python types to scalars in casts. (#953)
Instead of generating cast functions for everything and letting the server figure it out, generate cast functions for scalars based on the reflected explicit casts.
Add support to convert python types into gel scalars if possible. For example:
```py
std.str.cast(1)
std.str.cast("abc")
```
This works for basic scalars (like `int64` and `str`) as well as enums. D
dnwpark committed
e0a14b6b9e3a004fbe881f8a57eda2823208e08b
Parent: e520d9a
Committed by GitHub <noreply@github.com>
on 11/3/2025, 10:59:45 PM