SeaQL / SeaQL/sea-orm

Supporting url::Url fields

Open
#2,894 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
9.9k
Forks
734
Avg merge
6h 36m
Merged PRs (30d)
8

Description

Discussed in https://github.com/SeaQL/sea-orm/discussions/2852

Originally posted by Paul-E December 13, 2025
The url library is a popular tool for parsing and representing URLs in Rust. It's got about 442 million downloads right now on crates.io. It's got a a parse and to_string implementation. url::Url's popularity, stable implementation, and simplicity make it a good candidate to include as a supported field type.

It seems like impl_timestamp have a macro, and something similar could be done for the types that DeriveValueTypeString supports to make it general.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the impl_timestamp macro and the types supported by DeriveValueTypeString, as suggested in the issue. Trace how those types are converted and tested, then determine the corresponding support needed for url::Url. Done means url::Url fields are supported consistently with the existing string-like value types.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.