This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
Implementation of boundary annotations should allow for none #768
Labels
@boundary
Related to the @boundary annotation
duplicate
This issue or pull request already exists
enhancement 💡
New feature or request
Is your feature request related to a problem?
Currently a parameter that has a boundary annotation set, does not allow none as value. Sometimes there are valid intervals specified for parameters that could be used.
Desired solution
In the Interface there should be a checkbox that can be checked, to signal, that none is allowed.
In the automatic generation, you can check, if the type contains none which would imply, that none should be allowed.
In the implementation of the boundary annotation wrapper, these changes need to be implemented as well.
This issue is kind of similar to Safe-DS/Library-Analyzer#36
Possible alternatives (optional)
Just don't automatically set boundary annotations for parameters that allow none as value.
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered: