Altinn / Altinn/app-frontend-react
Add backend expressions to expression.schema.v1.json
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
**Background:**
At Team Studio, we utilize expression.schema.v1.json to validate the construction of expressions and ensure their validity. This works excellently for all front-end expressions. However, as we make the configure processes and expressions that run on the backend, it becomes necessary to incorporate backend expressions into this schema. Without this integration, the StudioExpression component will fail to validate the expression accurately.
**Solution Proposal:**
We propose expanding expression.schema.v1.json to include backend expressions and adding an error message to the app-frontend if anyone attempts to configure a backend expression in the frontend.
### Additional Information
https://docs.altinn.studio/altinn-studio/reference/process/flowcontrol/
Contributor guide
Research direction
Start by locating expression.schema.v1.json and the StudioExpression component in app-frontend-react, then compare the schema with the backend expressions described in the linked flow-control documentation. Done means the schema validates backend expressions and the frontend displays an error when someone tries to configure one there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100