Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix constraint template #591

Merged
merged 3 commits into from
Mar 1, 2025
Merged

Fix constraint template #591

merged 3 commits into from
Mar 1, 2025

Conversation

mrueg
Copy link
Contributor

@mrueg mrueg commented Feb 20, 2025

The GetAnnotation didn't work as expected and threw an error if the matchers key wasn't available. This works better.
The parameters here didn't make sense so I excluded them.

@jalseth
Copy link
Collaborator

jalseth commented Feb 22, 2025

Can we add tests so this error doesn't get introduced again?

@mrueg
Copy link
Contributor Author

mrueg commented Feb 22, 2025

Sure I'll add tests, I haven't fully understood why it worked here and didn't work when I used only partial matchers.

@mrueg
Copy link
Contributor Author

mrueg commented Feb 25, 2025

I added a few more acceptance tests that hopefully cover more cases, unfortunately I wasn't able to reproduce the failure anymore. I think it's still better to use the matchers directly.

@mrueg mrueg force-pushed the fix-template branch 2 times, most recently from 2514b99 to 2a147cb Compare February 25, 2025 22:05
@jalseth jalseth merged commit c648449 into plexsystems:main Mar 1, 2025
11 checks passed
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.

2 participants