Ben Longo
Ben Longo
If needed I can open a new PR with this rebased.
If this is implemented, it will be the only typescript client generator that works for my use case.
In the meantime, I've coped with the limitation by writing a transformation that inlines the allOf. The result is structurally equivalent in terms of the resulting types.
It seems this would be expressible via an intersection `&` on the base type with an `Omit` on the discriminator field to prevent widening it back to `string`.
It's unfortunate the generated types don't allow narrowing, that's critical to my use case. I don't think the framework should concern itself with updating behavior - it should faithfully model...
I'm willing to make a PR to merge the work in that repo, but I'm unsure how the licensing of GraalVM interacts with elk. I'll also need some guidance on...
It's really nice to have `IEntityConfiguration` co-located with the entity in question so you don't have to hunt for it, but once I started dealing with some shadow properties I...
I don't think it matters. Both will use the efficient implementation and stop at the first differing character.
Agreed that a hash solves the issue without introducing additional vectors (like the supply chain attack). The performance hit from hashing is almost certainly negligible.
I'm not 100% sure, but I believe a `.length` check would be constant time. You could theoretically infer the length of the key if it steps out early.