Skip to content

Conversation

Arvmor
Copy link
Contributor

@Arvmor Arvmor commented Sep 10, 2025

Motivation

The Unsigned a.k.a U256, U512 ... types already do impl sqlx Traits which enables crate users to directly pass the said types into sqlx queries,

Once I tried to do the same for Signed types I realized that these traits are missing in sqlx crate feature, even though the underlying type is the same, so that motivated me to impl these traits.

Solution

impl Type, Encode, Decode traits under the sqlx feature that is already existing.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems okay

pending @DaniPopes

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Sep 10, 2025
@DaniPopes DaniPopes enabled auto-merge (squash) September 10, 2025 15:40
@DaniPopes DaniPopes merged commit e122aeb into alloy-rs:main Sep 10, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Sep 10, 2025
@Arvmor Arvmor mentioned this pull request Sep 29, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants