View Source Avrogen.Avro.Types.Utils (avrogen v0.7.1)

Shared utils for working with Avro schema types

Summary

Types

@type namespaced_type() :: %{
  :namespace => String.t() | nil,
  :name => String.t(),
  optional(atom()) => any()
}
@type parent_namespace() :: String.t() | nil
Link to this type

scoped_embedded_types()

View Source
@type scoped_embedded_types() :: boolean()

Functions

Link to this function

fullname(map, namespace)

View Source
@spec fullname(namespaced_type(), parent_namespace()) :: String.t()
Link to this function

namespace(map, namespace, bool)

View Source