Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Library constants as default value #872

Open
3 tasks
lukarade opened this issue Jul 1, 2022 · 1 comment
Open
3 tasks

Library constants as default value #872

lukarade opened this issue Jul 1, 2022 · 1 comment
Labels
enhancement 💡 New feature or request epic An issue that groups several related issues together

Comments

@lukarade
Copy link
Contributor

lukarade commented Jul 1, 2022

Is your feature request related to a problem?

Currently there is no way to deal with non literal constants from imported libarys as default values.

Desired solution

Extend default value form shown for @optional, @constant, and @attribute by a radio button: "library constant" and two corresponding input text fields, that are displayed if this button is checked.
First field: "module"
Second field: "declaration"
A corresponding import declaration is generated.

Possible alternatives (optional)

No response

Screenshots (optional)

grafik

Additional Context (optional)

Subsumes the following issues:

@lukarade lukarade added the enhancement 💡 New feature or request label Jul 1, 2022
@lars-reimann lars-reimann moved this to Backlog in API Editor Jul 1, 2022
@lukarade lukarade removed the status in API Editor Jul 1, 2022
@lars-reimann lars-reimann added the epic An issue that groups several related issues together label Jul 1, 2022
@lars-reimann
Copy link
Member

Should be done only after #874.

@lars-reimann lars-reimann changed the title Libary constants as default value Library constants as default value Jul 2, 2022
@lars-reimann lars-reimann moved this to Backlog in API Editor Jul 3, 2022
@lars-reimann lars-reimann removed this from API Editor Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement 💡 New feature or request epic An issue that groups several related issues together
Projects
None yet
Development

No branches or pull requests

2 participants