dirty-equals icon indicating copy to clipboard operation
dirty-equals copied to clipboard

Wrong repr?

Open Kludex opened this issue 2 years ago • 2 comments

I have a items array, and then the problem is that _id is different, but the repr of price is not 79. Should this be supported?

E         -  'items': [{'_id': '5f3dbd00fa942fcc2d1053bc',
E         +  'items': [{'_id': ObjectId('629778b83406c5b07c9b0eb7'),
E         -             'price': IsPositiveInt(),
E         +             'price': 79,

Kludex avatar Jun 01 '22 14:06 Kludex

humm, can you show a full example of the errror, I'm not quite sure if this is expected.

I assume you've seen this bit of the docs?

samuelcolvin avatar Aug 31 '22 08:08 samuelcolvin