Skip to content

Conversation

@connorshea
Copy link
Collaborator

The migration docs could be better, but this gets us part of the way there.

Not sure if this is worth finishing as it removes some things that are relied on by crates/oxc_linter/src/config/plugins.rs.

Unfortunately they changed the API a good amount. These changes resolve MOST issues, but the remaining issues are beyond my understanding to solve.

See https://github.com/GREsau/schemars/blob/master/docs/0-migrating.md
Per the changelog for schemars:

`JsonSchema::is_referenceable()` has been removed, and replaced with the more clearly-named `JsonSchema::always_inline_schema()` (which should returns the **opposite** value to what `is_referenceable` returned!)

This was later renamed to just `inline_schema`.
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 1, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added the A-linter Area - Linter label Nov 1, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 1, 2025

CodSpeed Performance Report

Merging #15205 will not alter performance

Comparing connorshea:mainline-schemars (2b1cbeb) with main (1b9f6fc)1

Summary

✅ 33 untouched
⏩ 4 skipped2

Footnotes

  1. No successful run was found on main (c45a080) during the generation of this report, so 1b9f6fc was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-linter Area - Linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant