jeremydmiller on master
Fix casing of .NET in docs (compare)
jeremydmiller on master
little fix for rabbit mq ping p… (compare)
jeremydmiller on master
re-enables test for getting inc… unnests id collection in subque… updates locator for flattened e… (compare)
jeremydmiller on master
re-enables test for getting inc… unnests id collection in subque… updates locator for flattened e… (compare)
I need some guidance on searching collections in documents. I have this query:
'var license = "12345"'
'Session.Query<Organization>(o => o.AvailableLicenses.Select(a => a.License).Contains(license))'
I get the error : Marten does not (yet) support this Linq query type
should I change this to: Session.Query<Organization>(o => o.AvailableLicenses.Any(a => a.License == license))
?
Any
should generate better queries than Select.Contains
@tonykaralis
Deleting a property off of a class in the core library would then result in the change not being noticed in the Web app
How so? You broke the contract between the core library and its dependency at the assembly level. That will be a source and binary break. If you have types in your Web app derived from core types they will either break when you remove that property or they won't because the property wasn't being used.
I'm not saying there is no need for JSON schema validation, but I tend to rely on the classes as defined in my code and the consumers of those classes. If you removed a property from a POCO and it didn't break anything at a source level, what was it doing for you in the database jsonb?