View Source EdgeDB.Protocol.CustomCodec behaviour (EdgeDB v0.6.1)

Behaviour for custom scalar codecs. See custom codecs development guide for more information.

Link to this section Summary

Callbacks

Get name for type that can be decoded by codec.

Initialize custom codec.

Link to this section Callbacks

@callback name() :: String.t()

Get name for type that can be decoded by codec.

@callback new() :: EdgeDB.Protocol.Codec.t()

Initialize custom codec.