zachdaniel

zachdaniel

Creator of Ash

Addition of `validate/3`

Going into main shortly, to be released with atomics being wrapped up (which will get its own larger announcement), we will support validate/3 in validations. To date, we did not expose the “context”, which currently contains the actor, tenant, tracer, and whether or not the request is being authorized (authorize?: boolean). The original idea is that validations were meant to be simple and context-free. However, in practice this often resulted in people starting with validations, until they realized they needed the current actor, and then they had to rewrite their validation to a change. validate/2 will still work as it originally did, but validate/3 can be used instead to get access to the current actor and other context information, the same as change/3

Where Next?

Trending in News & Updates Top

bartblast
After building Hologram and sharing updates across various places, I’ve realized there’s a lot happening that doesn’t always make it to t...
New
bartblast
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
New
jvoegele
A little over 18 months ago I posted the original announcement for Bond — an early cut of a Design by Contract library for Elixir. The t...
New
kip
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
GenericJam
Mob 0.7.14 has been released. Added Magnetometer / compass support in Mob.Motion. Request :magnetometer in the sensor list and the {:m...
New
shahryarjb
:rocket: After 7–8 months, the new version of Mishka Chelekom is finally here! :tada: :sparkles: 53K+ downloads :puzzle_piece: 35 new h...
New
nseaSeb
Just published search_ash 0.5.0 (with search_core 0.4.0) on Hex. What’s new: synonyms You can now declare a synonym dictionary per lang...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
webofbits
Squid Mesh is an open source workflow automation runtime for Elixir applications. It is aimed at Phoenix and OTP apps that want to defin...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New

We're in Beta

About us Mission Statement