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 duplicate definition of predicate #563

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

davidjumani
Copy link
Contributor

Fixes the issue of multiple declarations of Predicate when multiple snapshots are generated

This causes compilation issues after running codegen on latest main

Eg: In gloo OSS when multiple snapshots are created within the same package (discovery snapshot, setup snapshot), multiple Predicate definitions are generated as this is in the _template file.
This moves it to the core package to resolve this issue

@solo-changelog-bot
Copy link

Issues linked to changelog:
solo-io/gloo#9274

@timflannagan
Copy link
Contributor

Just ran into this locally with a solo-kit replace pin pointing to my local copy. LGTM, but I'm going to pull this down locally and verify it fixes everything first.

@soloio-bulldozer soloio-bulldozer bot merged commit 7f2c40c into main Sep 19, 2024
3 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the fix-predicate branch September 19, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants