✨ 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)