Closed lschmierer closed 3 years ago
Please resolve the conflicts in this branch, and then I will merge...
I have resolved the merge conflicts
Merged! Thanks! Are you needing me to push a patch update to NPM?
Patch update would be great! Thanks a lot!
Done! Released on NPM as 4.8.1
A type fix in my last PR made sure that
ensurePropertyMetaData
is called in theParseConformance
constructor. However, that revealed an issue that additional meta propterties are created for primitives that already have an associated _meta property. That resulted wrong properties with multiple leading underscores like__id
,___id
etc.This resolves this by filtering for leading underscores in
ensurePropertyMetaData
:Checking the
property._type != 'Element'
might work as well, but I think the underscore aproach is more robust.