vt-elixir / ja_serializer

JSONAPI.org Serialization in Elixir.
Other
640 stars 148 forks source link

Added missing @callback in Serializer #294

Closed lasseebert closed 6 years ago

lasseebert commented 6 years ago

Added missing @callback for type/0 in Serializer

When this callback is missing, the calling code can't mark the type/0 function as a behaviour implementation like so:

@impl JaSerializer.Serializer
def type, do: "category"
beerlington commented 6 years ago

Thanks!