Latest #ash-calculations Threads Top

user20251023
If I’m using AshEvents as resource called MyApp.Events.EventLog. It has a data field that is a map with a property called source_name. F...
New
handkerchief01
Hello everyone, I’m running into an issue with the load callback in a calculation module, specifically regarding domain-level authorizat...
New
zac
I’ve been struggling to come up with an Ash aggregation or calculation that works on a Time attribute. The attribute in question: at...
New
kamaroly
I want to calculate the sub_total for a sale (sum of line_items.line_total) without querying the data layer. how can I achieve that? Her...
New
vkryukov
Hi, I have the following calculation in one of my resources: calculations do calculate :llm_model, :map, ...
New
vkryukov
Hello, I hope someone can clarify the semantics of calculation return value. The following calculation of a last response from an LLM th...
New
spacebat
I have a resource with an attribute that is an array of strings. Calculations on these arrays seem inconsistent: attribute :tags, {:ar...
New
BryanJBryce
Orders have many OrderItems have many OrderItemModifiers OrderItem and OrderItemModifier both have attributes of quantity and price I w...
New
rbino
Some context to avoid the XY Problem: I’m trying to expose some state which lives in an external API as a resource field. Let’s say I ha...
New
sezaru
I have the following calculation: calculations do calculate :trigram, :list, expr(fragment("show_trgm(?)", first_grantee_full_name))...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

kamaroly
I want to calculate the sub_total for a sale (sum of line_items.line_total) without querying the data layer. how can I achieve that? Her...
New
zac
I’ve been struggling to come up with an Ash aggregation or calculation that works on a Time attribute. The attribute in question: at...
New
handkerchief01
Hello everyone, I’m running into an issue with the load callback in a calculation module, specifically regarding domain-level authorizat...
New
user20251023
If I’m using AshEvents as resource called MyApp.Events.EventLog. It has a data field that is a map with a property called source_name. F...
New

Last Three Year's Trending Top

dewetblomerus
I am trying to filter records by a calculated interval. My resource has these two attributes: attribute :retry_at, :utc_datetime, a...
New
rgraff
I have a resource that has an attribute that is an array of embedded resources. I have module calculation that maps the embedded resourc...
New
sezaru
In my resource, I have the following many_to_many relationship: many_to_many :favorited_by_users, User do through FavoriteProp...
New
BryanJBryce
Orders have many OrderItems have many OrderItemModifiers OrderItem and OrderItemModifier both have attributes of quantity and price I w...
New
rbino
Some context to avoid the XY Problem: I’m trying to expose some state which lives in an external API as a resource field. Let’s say I ha...
New
FlyingNoodle
Given this code: relationships do belongs_to :sender, MyApp.Accounts.User, source_attribute: :sender_id, destination_att...
New
sezaru
Currently, when writing a calculation, the third argument is the expression. For example: calculate :full_name, :string, expr(first_nam...
New
vkryukov
Hello, I hope someone can clarify the semantics of calculation return value. The following calculation of a last response from an LLM th...
New
FlyingNoodle
Is it possible to run a calculation on a calculation in another resource? # resource user attributes do attribute :type, :atom do ...
New
sezaru
I have the following calculation: calculations do calculate :trigram, :list, expr(fragment("show_trgm(?)", first_grantee_full_name))...
New
spacebat
I have a resource with an attribute that is an array of strings. Calculations on these arrays seem inconsistent: attribute :tags, {:ar...
New
vkryukov
Hi, I have the following calculation in one of my resources: calculations do calculate :llm_model, :map, ...
New

Trending Over Three Years Top

  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement