fuelen

fuelen

SeedFactory v0.10.0 has been released.

Parameterized traits

Traits can now take values:

trait :age, :user do
  exec :create_user, args_pattern: %{age: _}
end

produce(ctx, user: [:active, age: 18])

Use _ in args_pattern to mark where the supplied value goes. This creates an active user, passing age: 18 to :create_user.

You can also require parameterized traits on dependencies:

param :user, entity: :user, with_traits: [:active, age: 18]

Values are tracked after both produce and direct exec calls.

Other changes

  • Validate with_traits references when the schema compiles.
  • Improve errors for malformed requests and conflicting traits.
  • Fix trait matching against structs and nested scalar values, traits listed after :as, and removal of repeated traits during transitions.

The minimum Spark version is now 2.7.3.

See the changelog for details.

Where Next? Top

Trending in News & Updates Top

Jskalc
LiveVue v1.0 released After four release candidates and a lot of community feedback, LiveVue 1.0 is stable :tada: I’ve built a dedicated...
New
webofbits
Cairn is a small OTP library for message delivery, lightweight function processes, supervised work, and waiting on results. The goal is ...
New
nature
NatureWhistle v0.4.1 is out! :tada: This release is a pretty significant step forward for the project. When I first built NatureWhistle,...
New
webofbits
Aludel 0.8.0 is now available on GitHub and Hex. This release adds typed_judge assertions for evaluations that need deterministic, struc...
New
woylie
LetMe 3.0.4 has been released. Changed Log the policy module and the check module in the message of the warning for a rule that does n...
New
woylie
Flop Phoenix 0.27.0 has been released. Changed Require Flop 0.29.0, which turns Flop.Schema from a protocol into a behaviour. Determin...
New
woylie
Flop 0.29.0 has been released. Added Add Flop.allowed_fields/2, which returns the fields that may be filtered or sorted for the given ...
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
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews