diff --git a/lib/protobuf/dsl.ex b/lib/protobuf/dsl.ex index 12067ef0..1e89484d 100644 --- a/lib/protobuf/dsl.ex +++ b/lib/protobuf/dsl.ex @@ -254,11 +254,11 @@ defmodule Protobuf.DSL do _ -> raise CompileError, """ Transform module #{inspect(unquote(transform_module_ast))} not available - during protobuf definition compilation. + during Protobuf definition compilation. - Since protobuf v0.14, protobuf definitions depend in compile time on + Since Protobuf v0.14, Protobuf definitions depend in compile time on their transform modules. This means that transform modules can't depend - on protobuf structs, and must be available for compilation when protobuf + on Protobuf structs, and must be available for compilation when Protobuf definitions are compiled. """ end diff --git a/lib/protobuf/transform_module.ex b/lib/protobuf/transform_module.ex index 05ef14c9..76fe066d 100644 --- a/lib/protobuf/transform_module.ex +++ b/lib/protobuf/transform_module.ex @@ -62,7 +62,7 @@ defmodule Protobuf.TransformModule do @callback decode(message(), type()) :: value() @doc """ - Transforms the typespec for modules using this transformer + Transforms the typespec for modules using this transformer. If this callback is not present, the default typespec will be used. """