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

Ability to constrain selectable blueprints based on requirements #465

Open
agdimech opened this issue Jan 17, 2024 · 0 comments
Open

Ability to constrain selectable blueprints based on requirements #465

agdimech opened this issue Jan 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@agdimech
Copy link
Contributor

Describe your feature request

I have a Blueprint annotated with the @requires jsdoc. It would be amazing to generate a DAG based on these and only render selectable blueprints in the UI.

Describe the solution you'd like

  • A user annotates their blueprint with @requires and specifies 'my-blueprint' as the value.
  • In the UI, if a user is creating a new project - all @requires blueprints should not be selectable as they require a blueprint to already be deployed.
  • in the UI, if a user is adding a blueprint to an existing project, only blueprints which satisfy the @requires should be selectable.

Describe alternatives you've considered

  • Throw an error at synth time (this is not a great UX).

Additional context

N/A

@agdimech agdimech added the enhancement New feature or request label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant