Skip to content

Conversation

@jeffcharles
Copy link
Collaborator

Description of the change

Moves plugin validation from the CLI crate into the javy-codegen crate. This results in a breaking change in the codegen crate's API.

Why am I making this change?

As part of implementing our RFC to change Javy's plugin format, I think it makes sense for the codegen crate to validate the plugin it's given so we can return a helpful error message if the plugin is invalid as opposed to having the plugin fail later with an error message that may be hard to decipher.

Checklist

  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli, javy-plugin, and javy-plugin-processing do not require updating CHANGELOG files.
  • I've updated the relevant crate versions if necessary. Versioning policy for library crates
  • I've updated documentation including crate documentation if necessary.

@jeffcharles jeffcharles merged commit 142803c into main Aug 22, 2025
4 checks passed
@jeffcharles jeffcharles deleted the jc.move-plugin-validation-to-codegen branch August 22, 2025 18:35
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.

3 participants