Skip to content

Conversation

@jeffcharles
Copy link
Collaborator

Description of the change

I've updated the option parsing to return an error if the same codegen or JS option is specified multiple times. Right now there is no error and the last specified value is used.

Why am I making this change?

To address #915. I think emitting an error when more than one plugin was specified would've reduced some of the confusion.

Checklist

  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli and javy-plugin 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 310fb0d into main Mar 18, 2025
4 checks passed
@jeffcharles jeffcharles deleted the jc.error-if-options-are-specified-twice branch March 18, 2025 15:25
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