oxidecomputer / oxidecomputer/typify

schemars deprecated schemas

Open
#737 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
898
Forks
114
Avg merge
4h 18m
Merged PRs (30d)
14

Description

schemars deprecated a lot of types for 1.0.0

Changelog:
https://github.com/GREsau/schemars/blob/master/CHANGELOG.md#removed-%EF%B8%8F-breaking-changes-%EF%B8%8F-1

Removed types:

  • RootSchema
  • SchemaObject
  • Metadata
  • SubschemaValidation
  • NumberValidation
  • StringValidation
  • ArrayValidation
  • ObjectValidation
  • InstanceType
  • SingleOrVec

I'm thinking about adding the types to this crate and remove the dependency on schemars.

Would this change be welcome?
If so I'll implement it.

Contributor guide

No contributing guide indexed for this repository

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 with the linked schemars changelog and inspect typify's current uses of the listed removed types and its schemars dependency. The work is complete when the required types are provided by this crate, schemars is no longer a dependency, and the existing behavior remains covered by the project's checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.