Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63563a7

Browse files
committed
feat: update to latest ash
1 parent0476b23 commit63563a7

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

‎lib/data_layer.ex‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,21 @@ defmodule AshPostgres.DataLayer do
8383
defcan?(_,{:aggregate,:count}),do:true
8484
defcan?(_,:aggregate_filter),do:true
8585
defcan?(_,:aggregate_sort),do:true
86+
defcan?(_,:create),do:true
87+
defcan?(_,:read),do:true
88+
defcan?(_,:update),do:true
89+
defcan?(_,:destroy),do:true
90+
defcan?(_,:filter),do:true
91+
defcan?(_,:limit),do:true
92+
defcan?(_,:offset),do:true
8693
defcan?(_,{:filter_predicate,_,%In{}}),do:true
8794
defcan?(_,{:filter_predicate,_,%Eq{}}),do:true
8895
defcan?(_,{:filter_predicate,_,%LessThan{}}),do:true
8996
defcan?(_,{:filter_predicate,_,%GreaterThan{}}),do:true
9097
defcan?(_,{:filter_predicate,_,%IsNil{}}),do:true
9198
defcan?(_,{:filter_predicate,:string,%Trigram{}}),do:true
9299
defcan?(_,{:filter_predicate,_}),do:false
100+
defcan?(_,:sort)
93101
defcan?(_,{:sort,_}),do:true
94102
defcan?(_,_),do:false
95103

‎mix.exs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ defmodule AshPostgres.MixProject do
6161
[
6262
{:ecto_sql,"~> 3.4"},
6363
{:postgrex,">= 0.0.0"},
64-
{:ash,"~> 1.8"},
64+
{:ash,"~> 1.9"},
6565
{:git_ops,"~> 2.0.1",only::dev},
6666
{:ex_doc,"~> 0.22",only::dev,runtime:false},
6767
{:ex_check,"~> 0.11.0",only::dev},

‎mix.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%{
2-
"ash":{:hex,:ash,"1.8.0","13ac55bdd95f7210736d0b7ad5a691374864aaa040542d8f03122e41bee0dc3b",[:mix],[{:ecto,"~> 3.4",[hex::ecto,repo:"hexpm",optional:false]},{:ets,"~> 0.8.0",[hex::ets,repo:"hexpm",optional:false]},{:nimble_options,"~> 0.3.0",[hex::nimble_options,repo:"hexpm",optional:false]},{:picosat_elixir,"~> 0.1.4",[hex::picosat_elixir,repo:"hexpm",optional:false]}],"hexpm","3da90143a04623e14008aa255dcc90e69b06ab7546a84dbfd3db3cd4b8426ac2"},
2+
"ash":{:hex,:ash,"1.9.0","e8acc8ff9262d36d9217b0102f741e3410c72962874cddc4d57e96a4dde43f40",[:mix],[{:ecto,"~> 3.4",[hex::ecto,repo:"hexpm",optional:false]},{:ets,"~> 0.8.0",[hex::ets,repo:"hexpm",optional:false]},{:nimble_options,"~> 0.3.0",[hex::nimble_options,repo:"hexpm",optional:false]},{:picosat_elixir,"~> 0.1.4",[hex::picosat_elixir,repo:"hexpm",optional:false]}],"hexpm","05ded28710fe38a751293147a31594d614230c04db0aefb03b603f6116f16525"},
33
"bunt":{:hex,:bunt,"0.2.0","951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38",[:mix],[],"hexpm","7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
44
"certifi":{:hex,:certifi,"2.5.2","b7cfeae9d2ed395695dd8201c57a2d019c0c43ecaf8b8bcb9320b40d6662f340",[:rebar3],[{:parse_trans,"~>3.3",[hex::parse_trans,repo:"hexpm",optional:false]}],"hexpm","3b3b5f36493004ac3455966991eaf6e768ce9884693d9968055aeeeb1e575040"},
55
"connection":{:hex,:connection,"1.0.4","a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976",[:mix],[],"hexpm","4a0850c9be22a43af9920a71ab17c051f5f7d45c209e40269a1938832510e4d9"},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp