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

Additional module kinds and modifications to existing kinds #38

Open
GraphR00t opened this issue Jan 16, 2024 · 0 comments
Open

Additional module kinds and modifications to existing kinds #38

GraphR00t opened this issue Jan 16, 2024 · 0 comments

Comments

@GraphR00t
Copy link
Contributor

GraphR00t commented Jan 16, 2024

Library (new)

  • Limited internal state
    • The values of global variables cannot be mutated after the module have returned.
  • Cannot define databases
  • Importing a library always returns the same instance (?)

Service (new)

  • Internal state
  • Can define databases
  • Importing a service always returns the same instance
  • May be running in a different process or machine

Unspecified

  • Should not be able to define databases
  • Embedded child modules should be stopped when the module returns (?)

Spec

  • Should not be able to define databases (manifest)

External dependencies (URL and package? imports) should expose themselves as librairies/services (?)

@GraphR00t GraphR00t changed the title Additional module kinds and modification to existing kinds Additional module kinds and modifications to existing kinds Jan 16, 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

1 participant