Hi there,<br><br>i&#39;m having 2 problems, maybe someone can help me:<br><br>1) first I would like to write some tests for my web proj. but &#39;yesod test&#39; does not run due to <br>a compile time error.<br>i get the same error like on this issue but i got no clue how to fix it: <a href="https://github.com/yesodweb/yesod/issues/349">https://github.com/yesodweb/yesod/issues/349</a><br>
<br>2) second I dunno if my approach is correct.<br>I&#39;m using mongodb and i have entities like so:<br><br>A<br>     name Text<br><br>B<br>     name Text<br>     as [A]<br><br>As it compiles like a charm and i can add A types to B entities, these A entities do not have<br>
an _id field. This seems logical to me due to the type A does not have this _id property generated, like<br>described in the book and i do not &#39;insert&#39; the A type but simply update a B entity.<br>I would like to identify (not by index) these nested A entities as i&#39;m going to delete/update them from time to time.<br>
<br>Can you point out the way how I would do that?<br>I also searched alot for more docu on the mongoDB persistent api, is there any?<br><br>--<br>richard<br>