Commit graph

5 commits

Author SHA1 Message Date
mariusor
947bcada60
Improve Flatten function for collections and items 2022-03-23 16:19:40 +01:00
Marius Orcsik
109a45e9a0
Added a ItemCollection.Normalize method
It allows us to return an the first element in a collection if there is just one
2022-03-20 15:15:07 +01:00
mariusor
eed0561779
Fix flatting of intransitive activities
For the moment we don't flatten a Question's anyOf or oneOf properties
2022-03-11 16:47:56 +01:00
Marius Orcsik
0158b24880
Improvements to nil checks before trying to access interface values which might be nil 2021-06-06 17:04:34 +02:00
Marius Orcsik
558da36360
Moved the flatten functionality to this package 2021-04-03 13:43:33 +02:00