Table of Contents generated with DocToc
Changelog
v1.4.0
- #4 -
use Calcinator.Resources.Ecto.Repo
will define the callbacks forCalcinator.Resources
backed by anEcto.Repo
. The only callbacks that are required then areecto_schema_module/0
,full_associations/1
andrepo/0
. - @KronicDeth - #5 - @KronicDeth
- Update to
credo
0.5.3
- Update to
ja_serializer
0.11.2
v1.3.0
Enhancements
- #3 - @KronicDeth
Calcinator.Authorization
implementationsCalcinator.Authorization.SubjectLess
allows allaction
s on alltarget
s, but only if the passedsubject
isnil
. Use it for when you don’t actually want authorization checks.
- Document Steps and Returns of
Calcinator
actions. Steps make it clearer which parts ofstate
are used when. Returns explain why a given return happens. Document and clarify
Calcinator.Authorization
calling patterns- Document each callback with the target shape for each action.
- Break up the callbacks into multiple signatures for the different call site
Bug Fixes
- #3 - @KronicDeth
- Add missing related
Calcinator.View
callbacks,get_related_resource
andshow_relationship
, that are needed for their respective functions inCalcinator
. - Add missing newline at end of file.
- Remove
argN
arguments in docs by naming arguments in specs - Remove extra blank line
v1.2.0
Enhancements
- #2 - Doctests for
Calcinator.Resources.attribute_to_field/2
- @KronicDeth
Bug Fixes
- #2 -
Calcinator.Resources.attribute_to_field/2
now works with virtual fields. - @KronicDeth
v1.1.0
Enhancements
- #1 - Expose
attribute_to_field
that was used inCalcinator.Resources.Sort
as it is useful in other places instead of usingString.to_existing_atom
, which doesn’t handle the hyphenation and can fail if the atom hasn’t been loaded yet. - @KronicDeth
Bug Fixes
- #1 - @KronicDeth
Add missing top-level files to extras:
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md