James Turner

Results 197 comments of James Turner

It is a little more complicated than that unfortunately. So when you use MongoFramework (or MongoDB's driver directly), if you use a `string` ID the actual data in MongoDB is...

Or maybe better explained another way, there are 3 types of IDs for the MongoDB Driver: - `string` - `ObjectId` - `Guid` Both `string` and `Guid` serialize to strings but...

With your example now, you're telling the driver to specifically ignore the default representation for the serializer. There isn't an equivalent way to do so with MongoFramework currently. I've had...

Yes, mostly. Like I think being able to define what a particular property should be represented as is quite useful but I need to look at the bigger picture of...

Yep! You can do it via attributes or the mapping builder, have a look at this part of the readme: https://github.com/TurnerSoftware/MongoFramework#entity-mapping-basics

No, there isn't a way to have a global default for this. It is something that could be achieved with changes to the `PropertyMappingProcessor` to take in some configuration but...

Hey @aboah , thanks for raising this issue. Currently that isn't supported but that is a good idea. I can't give a firm timeline when I might add it but...

Thanks for raising this @dandrejvv - I didn't have plans for this (wasn't on the top of my mind) but after doing some digging into it now, it looks like...

This will be better covered when a roll out of a website for the library is completed.

Looks like the version bump has a new requirement, from the CI logs: ``` A project containing analyzers or source generators should specify the property 'true' ``` Related GitHub issue:...