Danny Thomas
Danny Thomas
Given the index definition where the field `metadata` is nullable: ``` private val modulesByOrigin = HashIndex.from(consumer, ModuleDescriptor::class.java) .usingPath("metadata.origin.value", String::class.java) ``` Index creation will fail with: ``` java.lang.ArrayIndexOutOfBoundsException: -1 at com.netflix.hollow.core.memory.encoding.FixedLengthElementArray.getElementValue(FixedLengthElementArray.java:133)...
Hollow's `Memoized*` collections and user implemented types that use the `__assigned_ordinal` optimization don't require their references once the object has been fed to the write state. In my case, I...
I have a class I use only in the populator that isn't part of my API (I need to feed `MemoizedList`s as early as I can and I need a...
Memoized collection mapping is a special case for the bundled implementations: https://github.com/Netflix/hollow/blob/ba5e2266798f4016a2e94e873fa121d681145993/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/HollowListTypeMapper.java#L61-L66 I'd like to be able to switch in a memoized type that delegates to an underlying collection with...
I accidentally exposed a type in a legacy model I was adapting to Hollow that had a generic type parameter `T`, which causes codegen to fail with an exception: ```...
It occurs to me that additional delegate types would offer a great opportunity to move away from special casing caching (or other delegate types), and instead allow a strategy to...
Writing tests and adapting a legacy model to Hollow exposed a few cases where a plain POJO delegate for a `HollowObject` would be beneficial. For ergnomics, if there was a...
This is particularly useful for Kotlin interop, as it allows the compiler/inspections to infer nullability, but is supported in IntelliJ for several languages: https://kotlinlang.org/docs/reference/java-interop.html#nullability-annotations
The ergnomic API generation misses collection types of core Hollow types, meaning it's necessary to `.value` items when iterating over collection. For instance, `ListOfString` implements `HollowList`, however for the generated...
Several of our model classes use a compound primary key: ``` Module @PrimaryKey(id.organization, id.name, id.version, id.type) { ModuleVersionIdentifier id; ListOfListOfModuleDependency dependencies; ModuleMetadata metadata; Owner owner; } ``` Rather than define...