-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Change content array to object with properties for each content…
… type (#905) #891 Changes content on the API layers to be an object with all content types as properties. Required props are non-nullable, the rest is nullable. Validators are re-written to use reflection, all DialogContentTypes are looked up on the incomming DTOs Tests have been added to ensure that ContentDTOs prop. count matches those of DialogContentTypes There is some weird naming/mapping stuff when it comes to the search mapping, but it works OK, see comments 🙈 Co-authored-by: Knut Haug <knut.espen.haug@digdir.no>
- Loading branch information
Showing
45 changed files
with
988 additions
and
470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.