Skip to content

More Functional

Latest
Compare
Choose a tag to compare
@thebugcatcher thebugcatcher released this 20 Mar 23:56
· 200 commits to master since this release

Changes to Rummage as whole:

  • This release is to illustrate the actual behavior of Rummage, which is functional:

    • Instead of EctoSchema.rummage(query, rummage), call Rummage.Ecto.rummage(query, rummage)
  • Default Hooks can handle any number of associations.

Changes to complexity:

  • Hooks are more independent of each other due to a newly introduced before_hook feature. This
    allows us to format rummage_params based on what a hook is expecting and keep the code clean.

In Progress:

  • A CustomHook with key-set pagination based on this link.