-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Story
If I disable inheritance on an attribute and then create new entity the attribute value is set to null instead of the default value.
To reproduce
Steps to reproduce the behavior:
I'll use frameStart as an example because it is already by default in AYON.
- Make sure
frameStarthas defined default value. - Change
frameStartto not inherit values inAttributestab. - Create new task.
- The new task will return
frameStartasnullinstead of the default value when received using graphql.
Expected behavior
If attribute inheritance is disabled and value is null, then the default value should be returned instead of null on request.
Additional context
I don't think the value should be filled in the entity itself, because it would be necessary to handle change of the attribute inheritance which can cause huuuuge issues if done accidentaly.
Metadata
Metadata
Assignees
Labels
No labels