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

Declarative dependency management #81

Closed
vigoo opened this issue Sep 13, 2024 · 1 comment
Closed

Declarative dependency management #81

vigoo opened this issue Sep 13, 2024 · 1 comment
Assignees
Milestone

Comments

@vigoo
Copy link
Contributor

vigoo commented Sep 13, 2024

For setting up worker to worker communication, the stub generator should support declarative configuration which defines which (language-independent) sub projects are supposed to be able to call each other.

With this declarative information, the stub generator's procedural steps can be ran automated as a series of generating and building stubs, adding stubs as dependencies and in the and composing various wasms.

Note that we cannot fully automate this because we don't have a way to build the user's components (as they can use any language and tooling). We can still point to the build output in the declarative configuration and expose the declarative mode as a two-phase (pre-build and post-build commands).

The cargo-make support can also build on this new feature, simplifying the generated makefile and making it easier to change the project relationships through the declarative w2w specification when working with rust.

Part of implementing the new feature must be to

  • cover it with tests
  • including tests for circular and self-references
@vigoo vigoo added this to the Golem 1.1 milestone Sep 13, 2024
@noise64
Copy link
Contributor

noise64 commented Oct 7, 2024

@noise64 noise64 closed this as completed Oct 14, 2024
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

No branches or pull requests

2 participants