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

feat: implement Encode, Decode, Type for Arc<str> and Arc<[u8]> #3675

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joeydewaal
Copy link
Contributor

@joeydewaal joeydewaal commented Jan 9, 2025

fixes #1904

Implement Encode, Decode and Type for Arc<str> and Arc<[u8]>. For Postgres PgHasArrayTypeis implemented for Arc<[T]>, this makes it possible to decode a Postgres array as an Arc<[T]>

Edit: this depends on #3674 now because of the blanket impl's for Type.

@joeydewaal joeydewaal force-pushed the slice-str branch 2 times, most recently from 5bf1fdd to 68c427c Compare January 12, 2025 17:49
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.

impl Encode / Decode / Type for Arc<str>
1 participant