Repository navigation
Added Tests for Query with inner query - #1107
Conversation
| var serializer = new JsonNetSerializer(); | ||
| serializer.Customize(s => | ||
| { | ||
| s.TypeNameHandling = Newtonsoft.Json.TypeNameHandling.None; |
There was a problem hiding this comment.
I believe the same can be applied as an attribute on the IEnumerable properties on the class to achieve the same rather than customizing the serializer at the store level. Thoughts?
There was a problem hiding this comment.
@mysticmind good catch, I'll add next case checking that
|
@oskardudycz, what about one more level down, i.e. having creation of test data looking like this: ? Then having a query over this extra-level leaves would fail: with exception stating that only P.S. That's what I meant by asking about subqueries on Gitter: https://gitter.im/JasperFx/marten?at=5c66d8b64bafd97ca3f8f457 |
|
@robert-skarzycki I agree, current support for InnerCollection queries is far from being ideal. I'll try to revisit that after I finish my work on NodaTime support. But the fix won't be quick, probably no sooner than in version 3.6... |
|
@oskardudycz I have added With this fix, we can close #1105 and #1192. We will also need to add some documentation on this. |
…er, added JsonNetContractResolver to allow global setting of storing collections as arrays
|
@mysticmind I made few additional improvements:
Could you have a look and share your thoughts? 😄 |
|
@oskardudycz Looks like the tests are failing with the recent changes, can you please have a look? |
|
@mysticmind should be good now. Too long document class name ;) |
mysticmind
left a comment
There was a problem hiding this comment.
@oskardudycz I have added few review comments. Please have a look.
|
@mysticmind comments applied ;) |
Carries the correlation id a slice's events agree on onto its side effects (JasperFx#1101, JasperFx#1105), correlation and causation on cloned events (JasperFx#1107), SubscriptionDescriptor.PublishedTypes and the descriptor fixes (JasperFx#1102, JasperFx#1106, JasperFx#1108), and the 2.97.1 fixes that never reached NuGet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Added tests for issue #1105