fix(markdown-template): support concerto-core 4 typing#676
Conversation
Signed-off-by: Rishabh Jain <rishabhj2005@gmail.com>
|
Hi @mttrbrts, I’ve pushed a fix for this. The change removes TypeVisitor’s direct dependency on Validation:
|
|
Thanks for the contribution @Rishabh060105. The original issue looks like a bug in Concerto v4, so I recommend an upstream fix to expose the isPrimitive function on the Property class. That should mean that no change is needed for clients like markdown-transfor . |
Signed-off-by: Rishabh Jain <rishabhj2005@gmail.com>
Signed-off-by: Rishabh Jain <rishabhj2005@gmail.com>
|
Hi @mttrbrts, I’ve updated the PR based on your suggestion. This PR does not expose I also merged the latest |
Closes #673
Fixes
markdown-templatetyping against@accordproject/concerto-core@4.xby removing the direct dependency onproperty.isPrimitive()inTypeVisitor.Changes
property.isPrimitive()checks inTypeVisitorwith compatibility helpers for primitive detection, enum detection, and fully-qualified type resolutionlib/TypeVisitor.jsoutput in sync with the source changeisPrimitive(), including primitive, optional, join, and nested object casesFlags
markdown-templatetyping behavior for Concerto 4.x compatibilityScreenshots or Video
Related Issues
Author Checklist
--signoffoption of git commit.mainfromRishabh060105/issue-673-typevisitor-concerto4Validation
npm testinpackages/markdown-template