Skip to content

Add StrictDecoding trait#489

Open
stephencelis wants to merge 3 commits into
mainfrom
strict-decoding
Open

Add StrictDecoding trait#489
stephencelis wants to merge 3 commits into
mainfrom
strict-decoding

Conversation

@stephencelis

Copy link
Copy Markdown
Member

Adopts strict decoding introduced in StructuredQueries, ensuring that type mismatches are better caught. By default, decoding is lenient but will begin to emit runtime warnings so that developers can resolve existing issues in their code base. Once migrated, folks can enable the StrictDecoding trait for harder failure, and in a 2.0 major release strict decoding will likely be the default.

Adopts strict decoding introduced in StructuredQueries, ensuring that
type mismatches are better caught. By default, decoding is lenient but
will begin to emit runtime warnings so that developers can resolve
existing issues in their code base. Once migrated, folks can enable the
`StrictDecoding` trait for harder failure, and in a 2.0 major release
strict decoding will likely be the default.
@stephencelis stephencelis requested a review from mbrandonw July 8, 2026 19:07
* Add `LazyInitializableByDefault` trait

Makes it easier to turn on the StructuredQueries trait without an
explicit dependency.

* wip
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

Successfully merging this pull request may close these issues.

1 participant