Commit graph

262 commits

Author SHA1 Message Date
Zach Daniel
89202fba24 chore: release version v1.0.0-rc.4 2024-04-26 03:39:27 -04:00
Zach Daniel
ae2ffd72b9 improvement: update ash 2024-04-26 03:39:19 -04:00
Zach Daniel
84b86e65be improvement: add graphql_define_type?/1 callback for graphql types 2024-04-24 09:21:26 -04:00
Zach Daniel
e60c0def27 fix: don't process maps with no fields 2024-04-24 08:49:53 -04:00
Zach Daniel
8f47f58076 chore: add audit to ci 2024-04-22 09:32:27 -04:00
Zach Daniel
35f35e4468 chore: release version v1.0.0-rc.3 2024-04-11 13:13:28 -04:00
Zach Daniel
777544a881 chore: release version v1.0.0-rc.2 2024-04-11 10:21:12 -04:00
Zach Daniel
e364ff4115 chore: release version v1.0.0-rc.1 2024-04-02 12:31:17 -04:00
Zach Daniel
71abbd7039 improvement: update ash rc dependency 2024-04-02 12:30:11 -04:00
Zach Daniel
8f6c728232 chore: release version v1.0.0-rc.0 2024-04-01 16:02:59 -04:00
Zach Daniel
78c5b6a3bb chore: update errors and deps 2024-04-01 14:13:48 -04:00
Riccardo Binetti
513c1ac68f
improvement!: port AshGraphql to Ash 3.0 (#123)
Step 1: update Ash

Step 2: mass rename Api to Domain

Step 3: Ash.Query.expr -> Ash.Expr.expr

Also change ref interpolation

Step 4: remove all warnings

Step 5: remove registries from tests

Step 6: fix filter

Step 7: private? -> !public?

Step 8: Ash.Calculation -> Ash.Resource.Calculation

Step 9: use depend_on_resources/1 -> resources/1

Step 10: add Domain to all resources

Step 11: use Ash module for all actions

Step 12: add public? true all around

Step 13: remove verbose? from options passed during Domain calls

Step 14: add simple_sat

Step 15: Ash.ErrorKind is no more, so remove code from errors

Step 16: sprinkle default_accept :* around tests

Step 17: replace Ash.Changeset.new/2 with Ash.Changeset.for_*

Step 18: calculation fixups

- Context is now a struct and arguments go under the arguments key
- Function based calculations receive a list of records
- Add a select to query-based loads
- select -> load

Step 19: pass the correct name to pass the policy in tests

Step 20: Ash.Query.new/2 is no more

Step 21: add AshGraphql.Resource.embedded? utility function

Use that instead of Ash.Type.embedded_type?(resource_or_type) since resources
are not types anymore

Step 22: handle struct + instance_of: Resource in unions

Resources are not type anymore so they need to be passed this way in unions

Step 23: ensure we only check GraphQL actions for pagination

All reads are now paginated by default, so this triggered a compilation error

Step 24: swap arguments for sort on calculations

Step 25: remove unused debug? option
2024-04-01 14:03:06 -04:00
Zach Daniel
9f0ed5ed7e chore: release version v0.28.0 2024-03-30 17:38:35 -04:00
Zach Daniel
f895d2910b chore: release version v0.27.1 2024-03-11 12:23:16 -04:00
Zach Daniel
4c1f8a2d1a chore: release version v0.27.0 2024-02-12 19:47:06 -05:00
Zach Daniel
099540c79e fix: handle nested constraint derivation in union/map types 2024-02-04 10:36:23 -05:00
Zach Daniel
10d3d940cb chore: simplify docs generation 2024-01-12 14:53:43 -05:00
Zach Daniel
840230c110 chore: release version v0.26.9 2024-01-12 14:34:33 -05:00
Zach Daniel
067057b4db chore: update ex_doc 2024-01-12 14:34:15 -05:00
Zach Daniel
896d5c8df3 chore: release version v0.26.8 2023-12-04 18:29:53 -05:00
Zach Daniel
a5583ff8dc chore: release version v0.26.7 2023-11-24 05:39:03 -05:00
Zach Daniel
2cf5b60f63 improvement: support latest ash aggregate constraints 2023-11-13 16:53:21 -05:00
Zach Daniel
65778a1e1f chore: release version v0.26.6 2023-10-06 13:52:54 -04:00
Zach Daniel
d485f5378f chore: release version v0.26.5 2023-10-02 14:52:51 -04:00
Zach Daniel
a67462c07f chore: only gather analytics on hexdocs.pm 2023-10-02 10:57:29 -04:00
Zach Daniel
b3ac663cfe chore: analytics in hexdocs 2023-10-02 08:35:53 -04:00
Zach Daniel
07296a5ef5 chore: release version v0.26.4 2023-10-01 09:53:27 -04:00
Zach Daniel
46cd22db0d chore: release version v0.26.3 2023-09-28 17:31:54 -04:00
Zach Daniel
b58503322b docs: update spark/ash for docs improvements 2023-09-26 23:21:57 -04:00
Zach Daniel
ec3b747667 chore: release version v0.26.2 2023-09-17 19:34:56 -04:00
Zach Daniel
96b202221f chore: release version v0.26.1 2023-09-15 13:53:37 -04:00
Zach Daniel
49c6534d73 improvement: generic action support
docs: better docs
2023-09-15 13:45:12 -04:00
Zach Daniel
a7d89c14c5 chore: release version v0.26.0 2023-08-29 21:32:47 -04:00
Zach Daniel
8f9e79e273 fix: pass arguments to related read action 2023-08-03 19:49:59 -04:00
Zach Daniel
9d0a8c4234 chore: release version v0.25.13 2023-07-13 09:24:03 -04:00
Zach Daniel
fe85aab53a fix: properly display forbidden field errors
fixes #84
2023-07-13 09:23:17 -04:00
Zach Daniel
cf57747d79 chore: release version v0.25.12 2023-07-03 23:44:38 -04:00
Zach Daniel
bf4aaff3a3 improvement: update ash 2023-07-03 22:26:29 -04:00
Zach Daniel
7580a714a5 chore: release version v0.25.11 2023-07-03 21:37:10 -04:00
Zach Daniel
dd64dd9f4f chore: update ash 2023-06-23 10:12:32 -04:00
Zach Daniel
9b8d494e1d chore: release version v0.25.10 2023-06-12 17:01:57 -04:00
Zach Daniel
102bf96221 improvement: use new can_load?/2 2023-06-12 16:59:05 -04:00
Zach Daniel
e74101044a chore: release version v0.25.9 2023-06-12 13:20:58 -04:00
Zach Daniel
74211ef3f4 fix: properly fetch aliased all attributes 2023-06-12 13:19:07 -04:00
Zach Daniel
18b2effe57 chore: release version v0.25.8 2023-06-10 13:32:07 -04:00
Zach Daniel
997c80b526 chore: add back in dataloader to not break existing apps 2023-06-09 16:14:23 -04:00
Zach Daniel
a4266dffb4 chore: update ash 2023-06-09 10:19:53 -04:00
Zach Daniel
05be948204 improvement: revamp data loading to be a single load statement 2023-06-09 00:45:39 -04:00
Zach Daniel
09ca364162 chore: release version v0.25.7 2023-06-06 09:17:41 -04:00
Zach Daniel
0caf5365f7 improvement: use Ash.Changeset.load 2023-06-05 14:04:53 -04:00