Skip to content
This repository has been archived by the owner on Dec 31, 2017. It is now read-only.

prevent property metadata overriding value metadata #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/processor/dojodoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ define([

metadata = (processComment(candidate.value, value.raw.key.name).properties || {})[value.raw.key.name];
processTypeAnnotation(metadata);
// the localised property metadata will override the metadata inherited from the value
context.evaluated.properties[value.raw.key.name].metadata = metadata;
return;
}
}

Expand Down