fix(typescript): add concept enum in schema to support more typescript - #1259
Conversation
|
Connected to Huly®: UNOPL-1405 |
|
Claude finished @JayGhiya's task —— View job PR Review: TypeScript Schema Extension SupportReviewing PR #1259 that adds concept enum support for TypeScript frameworks/libs. Review Tasks:
Code Review Feedback✅ Strengths
|
|
🚀 Preview Deployment Ready! Preview URL: https://head.unoplat-code-confluence-docs.pages.dev Deployed via Cloudflare Pages |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7cfe9566ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "if": { "properties": { "concept": { "const": "FunctionDefinition" } } }, | ||
| "then": { "properties": { "target_level": { "const": "function" } } } |
There was a problem hiding this comment.
Include FunctionDefinition in schema constraints
This new allOf branch implies FunctionDefinition is supported, but the same schema still restricts conceptEnum to AnnotationLike|CallExpression|Inheritance and does not allow function_name_regex/export_name_regex in constructQueryDef, so TypeScript definitions that follow the updated docs will still fail validation (including via task validate-framework-definitions). In practice, the added condition is unreachable until those schema constraints are updated.
Useful? React with 👍 / 👎.
|
Claude finished @JayGhiya's task —— View job Claude finished @JayGhiya's task —— View job PR Review: TypeScript Schema Extension SupportReviewing PR #1259 that adds concept enum support for TypeScript frameworks/libs. Review Tasks:
Code Review Feedback✅ Strengths
|
|
🚀 Preview Deployment Ready! Preview URL: https://head.unoplat-code-confluence-docs.pages.dev Deployed via Cloudflare Pages |
…ript fix(typescript): add concept enum in schema to support more typescript
frameworks/libs