-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typedefinert felt map #1194
base: main
Are you sure you want to change the base?
Typedefinert felt map #1194
Conversation
2c81821
to
938a338
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ser jo bedre ut med FeltMap enn Map<String, Any> 💪
Antar at dette er bakoverkompatibelt også..? Isåfall tommel opp herfra!
//skal ekskluderes | ||
if (list.size == 1 && (list[0] as Map<*, *>).isEmpty()) { | ||
// skal ekskluderes | ||
if (list.singleOrNull()?.verdiliste?.isEmpty() == true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blir denne riktig nå..? 👀
val list = listOf(Feltformaterer.genereltFormatMapperMapEndenode(entitet.verdi.harSendtInnTidligere)) | ||
if (list.size == 1 && (list[0] as Map<*, *>).isEmpty()) { | ||
if (list.singleOrNull()?.verdiliste?.isEmpty() == true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Samme som over
Slipper å bruke:
og mye annet mindre leselig