mia-platform / mia-platform/fast-data-low-code-test-template

Convert Validator and Custom Functions to Typescript

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.