mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: ensure calc module compiled (shouldn't have to do this)
This commit is contained in:
parent
fec01e32fa
commit
6c94e5e578
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ defmodule Ash.Actions.Sort do
|
|||
calc ->
|
||||
{module, opts} = calc.calculation
|
||||
|
||||
Code.ensure_compiled!(module)
|
||||
|
||||
if function_exported?(module, :expression, 2) do
|
||||
if Ash.DataLayer.data_layer_can?(resource, :expression_calculation_sort) do
|
||||
calculation_sort(
|
||||
|
|
Loading…
Reference in a new issue