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

multi wit version loading #288

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

CLEMENTINATOR
Copy link
Contributor

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

enable edgee to load more than one version of world

this works, but code definitively needs a cleanup

@@ -118,7 +118,7 @@ async fn test_data_collection_component(opts: Options) -> anyhow::Result<()> {
let instance = context
.get_data_collection_instance(&component_path, &mut store)
.await?;
let component = instance.edgee_components_data_collection();
let component = instance.edgee_components1_0_0_data_collection();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be based on the manifest wit-version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes i just didnt finish the test part

@@ -1 +1,3 @@
edgee = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v1.0.0.tar.gz"
edgee2 = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.5.0.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could use the version here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, jsut lazyness here

@CLEMENTINATOR CLEMENTINATOR force-pushed the test-multi-wit-version branch 3 times, most recently from 25e11bb to 5aa90ea Compare March 25, 2025 13:01
@CLEMENTINATOR CLEMENTINATOR force-pushed the test-multi-wit-version branch from 5aa90ea to b201d93 Compare March 25, 2025 13:06
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