Skip to content

Notation annotation ignored when value is null #183

@sblundy

Description

@sblundy

If a field is annotated with a notationType, but the value is null, the annotation is ignored. In the example below, it would be as if @notationType -- yaml weren't there.

animals:
  # -- (list) Declaring object as yaml with null value
  # @notationType -- yaml
  lizards: 

Apply this patch to reproduce the problem: notation-test.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions