palantir / conjure-go

Conjure generator for Go
Apache License 2.0
7 stars 15 forks source link

feature: Define Encoding methods for endpoint bodies via private aliases #579

Open bmoylan opened 5 months ago

bmoylan commented 5 months ago

The conjure docs specify "Conjure optional, list, set, map types must be initialized to their empty variants"

The current conjure-go implementation will happily send null for a nil input, which violates this specification.


This change is Reviewable