-
replace
as
withsource
expose :body, as: :content
should beexpose :content, source: :body
-
explicit declaration for instance list
expose :posts, with: PostEntity
should beexpose :posts, using: List[PostEntity]
- Bugfix
- revert pr #19
-
Enhancements
- support only/excpet to return only wanted fields
before_serialize/2
hookbefore_finish/2
hook
-
Bugfix
- alias modules in
using
- alias modules in
- Enhancements
- support nested exposure
- support extend
- Bugfix
- return
[]
instead ofnil
for batch list - allow aliased modules in
using
- return
- Enhancements
- parallelizable serialize
- solve the N + 1 Problem