Skip to content

v6.63.0

Latest
Compare
Choose a tag to compare
@autorelease3 autorelease3 released this 27 Nov 21:32
v6.63.0
9fd8b8d

✨ Features

  • Replace global conjure-type error registration with a generated registry per conjure definition.

    Creates a new internal/conjureerrors package in each output directory for conjure definitions that include errors. Generated client implementations provide the definition-specific registry as a ConjureErrorDecoder to be used when deserializing a non-2xx JSON response.

    Clients will no longer be able to deserialize errors not defined in their own conjure definition.

    Generating multiple IRs into the same output directory will result in all definitions sharing the same error registry. (#636)