Closed LouisGariepy closed 1 month ago
I will close the issue for now since I no longer have interest in isolating the underlying problems. It also seems I'm the only one hitting this particular problem.
Let me reopen this until I get a chance to take a look myself.
I am getting this issue as well, using a newtype id
field. Has there been any progress on this? I would be happy to help out in fixing it.
Update on this: it seems that replacing the [...] RETURNING field AS \"field: _\"
with [...] RETURNING field AS \"field: ConcreteType\"
fixes the issue. I will put together a PR!
fixed in #40
Sorry for not having a more minimal example (I might post one soonish) but this should be fairly straightforward if not minimal.
This code gives :
wildcard overrides are only allowed with an explicit record type, e.g. query_as!() and its variants
Here's the custom type in question :
And here's the database schema I'm compiling against :