iamdanfox

Results 89 issues of iamdanfox

## What's happening Given the Conjure definition: ```yml SetExample: fields: items: set doubleItems: set ``` conjure-python 3.9.0 doesn't actually enforce uniqueness of the `items` field because it generates a list:...

I'm pretty sure if you have a classpath which contains a few jars, each with their own 'product-dependency' info embedded in their manifest, applying the shadow-jar plugin won't correctly preserve...

Seems like upstream's SimpleRelocator has code for this specific edge case: https://github.com/johnrengelman/shadow/blob/b8b516d60deeac82df1800fe9abbedb04ff5313a/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/relocation/SimpleRelocator.groovy#L169-L174 But when we override it we don't. Seems like that we have this bug, and I think it's...

Components often need to react to Backbone models that are introduced during the component's lifecycle. (e.g. a model returned by a function that is stored in this.state). At present, I...

_Currently, we just do `JSON.parse` to turn received JSON into javascript objects but this is not very ergonomic._ ## Problems 1. Conjure `double` types are inconvenient to use: `number |...

## What happened? In the apollo codebases, we use unions pretty heavily and on the whole they're pretty great for compile-time safety and forcing devs to consider implications of changes...

## Before this PR For hackweek, I'm hoping to enable folks to use Java 17's *pattern-matching-switch-expressions* (https://openjdk.org/jeps/406) to visit the different possible variants of a Conjure union. My primary goal...

no changelog

## What happened? In the apollo repo, we have a _ton_ of nested visitors for various unions whose variants are also more unions. Quite a few of these are just...

This feature flag was introduced in https://github.com/palantir/conjure-java/pull/38 as a way of doing a gradual rollout. Once we've validated a few repos can use this successfully, this flag should be removed...

conjure-java generates `Builder` classes for plain object types, which contain mutable collections (e.g. HashMap, ArrayList, HashSet). In the `.build()` method, we pass these mutable collections to the POJO's constructor, which...

bug