Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Derive transparent#857

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sfackler merged 1 commit intorust-postgres:masterfrommalobre:feature/derive-transparent
Dec 30, 2021
Merged

Derive transparent#857

sfackler merged 1 commit intorust-postgres:masterfrommalobre:feature/derive-transparent
Dec 30, 2021

Conversation

malobre
Copy link
Contributor

@malobremalobre commentedDec 29, 2021
edited
Loading

#[postgres(transparent)]

Acknowledgments

Example

#[derive(ToSql,FromSql)]#[postgres(transparent)]structUserId(i32);

@sfackler
Copy link
Collaborator

Nice! Would also be good to have a few quick tests.

@malobre
Copy link
ContributorAuthor

malobre commentedDec 30, 2021
edited
Loading

I added basic tests and updated some of the logic.

@malobremalobre marked this pull request as ready for reviewDecember 30, 2021 19:20
@sfackler
Copy link
Collaborator

Can you add a little bit of docs to the postgres-types crate?

LTGM otherwise!

@malobre
Copy link
ContributorAuthor

malobre commentedDec 30, 2021
edited
Loading

I added documentation and squashed all the commits into one.
Edit: Had to squash again, I missed one of your comment.

@sfacklersfackler merged commit774016d intorust-postgres:masterDec 30, 2021
@malobremalobre deleted the feature/derive-transparent branchDecember 30, 2021 23:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sfacklersfacklersfackler left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@malobre@sfackler

[8]ページ先頭

©2009-2025 Movatter.jp