Skip to content
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

Improve error message when a optional struct field is the wrong type #231

Open
fmoor opened this issue Jun 29, 2022 · 0 comments
Open

Improve error message when a optional struct field is the wrong type #231

fmoor opened this issue Jun 29, 2022 · 0 comments

Comments

@fmoor
Copy link
Member

fmoor commented Jun 29, 2022

The example error below should only suggest edgedb.OptionalDuration because the field is not required.

2022/06/29 13:02:06 edgedb.BinaryProtocolError: building decoder from ParameterStatus state_description: expected state.config.durprop to be edgedb.Duration or edgedb.OptionalDuration got string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant