mia-platform / mia-platform/fast-data-low-code-test-template
Convert Validator and Custom Functions to Typescript
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
In addition to the ER and Aggregation schemas, the `validator.js` and custom function files could be converted to Typescript. We could then use the Typescript compiler to compile them to js by calling the `compile-config` script. We could also allow the user to wirte the validator and custom funcionts in JS, in which case the script could simply copy the input files to the `config-out` directory without the need for compilation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating validator.js, the custom function files, the ER and Aggregation schemas, and the compile-config script. Determine how TypeScript compilation and JavaScript copying should be selected, then verify that converted or JavaScript inputs arrive correctly in config-out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- build-system, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100