Lennart

Results 6 comments of Lennart

You could annotate the generated JSNI methods with `UnsafeNativeLong` so that the compiler ignores it. See [GWT JSNI documentation](http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#important). But this could result in _incorrect_ values, as described in [this...

I ran into the same problem, when I tried to remove all entities of a family. My workaround is (shamelessly borrowed from `Engine.removeAllEntities()`): ```java ImmutableArray entities = engine.getEntitiesFor(family); while (entities.size()...

Sounds good! Much better than some fragile internal magic :sweat_smile: A few thoughts: - Allow dot separated paths like `foos.id` (I'd prefer this because it looks cleaner imho) - Allow...

1. You could use a type guard to catch paths in dot notation: ```typescript function AutoMapper(config) { if (config.flattenSourcePath && typeof config.flattenSourcePath === 'string') { config.flattenSourcePath = config.flattenSourcePath.split('.'); } //...

I was thinking a bit more about my third point and I don't think it's reasonable to handle this case in the AutoMap-Config. Most of the time there will be...

I wanted to get started on this, but when running `npm install` I get the error `Invalid package name "@automapper/classes/mapped-types": name can only contain URL-friendly characters.`. I'm using node version...