Altinn / Altinn/app-frontend-react

Make the data model expression return the entire data model when no arguments are provided

Open
#4,195 0 comments 0 reactions 0 assignees View on GitHub
area/logic squad/data
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

The `dataModel` function in our expression language should accept zero arguments, and in that case it should return the entire data model object.

## Acceptance criteria
- [ ] `["dataModel"]` returns the entire data model in frontend.
- [ ] `["dataModel"]` returns the entire data model in backend.

Contributor guide

Open the contributing guide

Research direction

Start by locating the `dataModel` expression implementation and the frontend and backend expression tests or entry points. Verify the zero-argument form `["dataModel"]` returns the entire data model in both environments; done when both acceptance criteria pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.