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

Assign a default value for an optional argument of type object #27

Open
gcramarossa opened this issue Jan 13, 2024 · 0 comments
Open

Assign a default value for an optional argument of type object #27

gcramarossa opened this issue Jan 13, 2024 · 0 comments
Labels
area-core The issue refers to the core library enhancement New feature or request
Milestone

Comments

@gcramarossa
Copy link
Contributor

ISSUE TYPE

Feature

SHORT DESCRIPTION

Assign a default value for an optional argument of type object so that changes made in definition rules remain in the object

DESCRIPTION

Version 0.4.0 introduces the concept of rules that extend the functionalities of the library.
Definition rules are always executed because they are executed during the argument definition.
However, for arguments of object type the value is null when the argument is not mandatory , and this can create some issues with rules that use this object.
Actually, if you try to set a value for a property that is an object in the data maodel, the library treat this property as a mandatory paramter.

It is needed to set a default value for an object even if the parameter is not mandatory

ACCEPTANCE CRITERIA

It is needed to set a default value for an object even if the parameter is not mandatory

@gcramarossa gcramarossa added enhancement New feature or request area-core The issue refers to the core library labels Jan 13, 2024
@gcramarossa gcramarossa added this to the 0.5.0 milestone Jan 13, 2024
@gcramarossa gcramarossa modified the milestones: 0.5.0, 0.6.0 Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core The issue refers to the core library enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant