Skip to content

Conversation

@MikaelMayer
Copy link
Member

@MikaelMayer MikaelMayer commented Jul 2, 2025

Fixes #6146

@VerifyOnly was creating an {:only} attribute instead of UserSuppliedAttribute, which prevented from being detected as well as not retaining the origin.

What was changed?

Changed detection of {:only} to be any attribute, not just user-supplied.

How has this been tested?

Migrated all tests to support the new @VerifyOnly syntax.
Existing tests were updated.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@keyboardDrummer
Copy link
Member

I couldn't find how this change was tested, but in any case I think it's an improvement.

@MikaelMayer
Copy link
Member Author

The change was tested by migrating the existing integration and auditor tests for {:only} to use @VerifyOnly instead, which incidentally also helped uncover other latent issues with that same attribute that were all resolved.

@MikaelMayer MikaelMayer enabled auto-merge (squash) July 7, 2025 12:03
@MikaelMayer MikaelMayer merged commit 2c4518a into master Jul 7, 2025
22 checks passed
@MikaelMayer MikaelMayer deleted the fix-6146-verifyonly-fix branch July 7, 2025 12:40
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.

@VerifyOnly not working

2 participants