Skip to content

Commit

Permalink
turn trace_id and span_id into a concrete type (HexEncodedId) w…
Browse files Browse the repository at this point in the history
…ith built-in validation (#220)

* turn `TraceId` into a concrete type with built-in validation

* use the concrete type in db models

* within db trait use new concrete type

* change api models as well to use new type

* pr review

* dont make the inner type pub

* remove unused errors

* replace `proc-macro-error` with `manyhow`
  • Loading branch information
mellowagain authored Sep 9, 2024
1 parent 2b5b114 commit bd56798
Show file tree
Hide file tree
Showing 11 changed files with 258 additions and 173 deletions.
98 changes: 32 additions & 66 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd56798

Please sign in to comment.