Commit graph

133 commits

Author SHA1 Message Date
Zach Daniel
a659ff4693 improvement: add extension installation code 2024-07-18 13:30:29 -04:00
dependabot[bot]
71d37b5dae
chore(deps-dev): bump mix_audit in the dev-dependencies group (#196) 2024-07-17 21:15:35 -04:00
dependabot[bot]
1cfe87260a
chore(deps): bump the production-dependencies group with 3 updates (#195) 2024-07-17 21:15:23 -04:00
Zach Daniel
01ca76da70 improvement: add igniter-backed installer 2024-07-15 14:25:40 -04:00
Zach Daniel
ee43075239 fix: upgrade ash dependency for bulk action bug fix
test: bring in tests on read actions producing errors
2024-07-11 10:57:44 -04:00
dependabot[bot]
5d0a642e64
chore(deps): bump the production-dependencies group with 2 updates (#192) 2024-07-10 20:23:10 -04:00
Zach Daniel
453cb623cc test: add tests showing failing manual action behavior 2024-07-10 10:11:43 -04:00
dependabot[bot]
832b09a4dc
chore(deps): bump ash from 3.0.15 to 3.0.16 (#185)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.15 to 3.0.16.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.15...v3.0.16)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-23 21:13:13 -04:00
dependabot[bot]
7e2fbb0358
chore(deps): bump ash from 3.0.13 to 3.0.15 (#183)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.13 to 3.0.15.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.13...v3.0.15)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 22:00:48 -04:00
dependabot[bot]
5892cf5c1d
chore(deps): bump ash from 3.0.12 to 3.0.13 (#182)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.12 to 3.0.13.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.12...v3.0.13)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 20:51:21 -04:00
dependabot[bot]
1a8047775a
chore(deps): bump ash from 3.0.11 to 3.0.12 (#181)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.11 to 3.0.12.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.11...v3.0.12)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 21:16:32 -04:00
dependabot[bot]
1fd1a9fba7
chore(deps-dev): bump credo from 1.7.6 to 1.7.7 (#180) 2024-06-12 21:11:34 -04:00
dependabot[bot]
c023019811
chore(deps): bump ash from 3.0.10 to 3.0.11 (#179)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.10 to 3.0.11.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.10...v3.0.11)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 21:37:58 -04:00
dependabot[bot]
3f88288c00
chore(deps): bump ash from 3.0.9 to 3.0.10 (#174)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.9 to 3.0.10.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.9...v3.0.10)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-07 14:02:37 -04:00
dependabot[bot]
5ea72c5114
chore(deps): bump ash from 3.0.8 to 3.0.9 (#171)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.8 to 3.0.9.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 08:47:33 -04:00
dependabot[bot]
543fbeab7e
chore(deps): bump ash from 3.0.7 to 3.0.8 (#168)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.7 to 3.0.8.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.7...v3.0.8)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 20:33:16 -04:00
dependabot[bot]
6f5157bc55
chore(deps): bump ash from 3.0.6 to 3.0.7 (#167)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.6 to 3.0.7.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 10:14:12 -04:00
dependabot[bot]
533a7ff7c8
chore(deps): bump ash from 3.0.4 to 3.0.6 (#165)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.4 to 3.0.6.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.4...v3.0.6)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 21:04:15 -04:00
dependabot[bot]
8fb6a4a830
chore(deps): bump ash from 3.0.2 to 3.0.4 (#161) 2024-05-22 21:18:24 -04:00
dependabot[bot]
6e5c5ec779
chore(deps): bump ash from 3.0.1 to 3.0.2 (#159)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.1 to 3.0.2.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-15 23:23:32 -05:00
dependabot[bot]
74b214e06d
chore(deps): bump ash from 3.0.0 to 3.0.1 (#157)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0 to 3.0.1.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/commits/v3.0.1)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 21:42:12 -04:00
dependabot[bot]
14ba578ca4
chore(deps-dev): bump credo from 1.7.5 to 1.7.6 (#149) 2024-05-11 01:58:58 -04:00
Zach Daniel
880d400fdb chore: release version 1.0.0 2024-05-10 17:43:44 -04:00
dependabot[bot]
6eb2bacc1d
chore(deps): bump ash from 3.0.0-rc.45 to 3.0.0-rc.46 (#148)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.45 to 3.0.0-rc.46.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.45...v3.0.0-rc.46)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 21:01:15 -04:00
dependabot[bot]
e9a77dfce8
chore(deps): bump ash from 3.0.0-rc.40 to 3.0.0-rc.45 (#146)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.40 to 3.0.0-rc.45.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.40...v3.0.0-rc.45)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 08:59:27 -04:00
dependabot[bot]
0092ee9bd7
chore(deps): bump ash from 3.0.0-rc.39 to 3.0.0-rc.40 (#143)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.39 to 3.0.0-rc.40.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.39...v3.0.0-rc.40)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 21:22:34 -04:00
dependabot[bot]
7d1de87a3e
chore(deps): bump ash from 3.0.0-rc.38 to 3.0.0-rc.39 (#140) 2024-04-30 23:40:21 -04:00
dependabot[bot]
5e2cd99b26
chore(deps): bump ash from 3.0.0-rc.31 to 3.0.0-rc.38 (#139) 2024-04-29 20:39:52 -04:00
Zach Daniel
ae2ffd72b9 improvement: update ash 2024-04-26 03:39:19 -04:00
Zach Daniel
e60c0def27 fix: don't process maps with no fields 2024-04-24 08:49:53 -04:00
dependabot[bot]
db7cdca775
chore(deps): bump ash from 3.0.0-rc.27 to 3.0.0-rc.29 (#135)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.27 to 3.0.0-rc.29.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.27...v3.0.0-rc.29)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 22:03:39 -04:00
dependabot[bot]
2c83029478
chore(deps): bump ash from 3.0.0-rc.18 to 3.0.0-rc.27 (#133)
Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.18 to 3.0.0-rc.27.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.18...v3.0.0-rc.27)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:32:40 -04:00
Zach Daniel
8f47f58076 chore: add audit to ci 2024-04-22 09:32:27 -04:00
dependabot[bot]
df04981d49
chore(deps): bump ash from 3.0.0-rc.6 to 3.0.0-rc.18 (#127)
* chore(deps): bump ash from 3.0.0-rc.6 to 3.0.0-rc.18

Bumps [ash](https://github.com/ash-project/ash) from 3.0.0-rc.6 to 3.0.0-rc.18.
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.0.0-rc.6...v3.0.0-rc.18)

---
updated-dependencies:
- dependency-name: ash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: Fix dialyzer error.

`action.accept` can no longer ever be `nil`.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Harton <james@harton.nz>
2024-04-22 09:31:33 +12:00
dependabot[bot]
b28a3c59e3
chore(deps-dev): bump excoveralls from 0.18.0 to 0.18.1 (#126)
Bumps [excoveralls](https://github.com/parroty/excoveralls) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/parroty/excoveralls/releases)
- [Changelog](https://github.com/parroty/excoveralls/blob/master/CHANGELOG.md)
- [Commits](https://github.com/parroty/excoveralls/compare/v0.18.0...v0.18.1)

---
updated-dependencies:
- dependency-name: excoveralls
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 11:24:45 +12:00
dependabot[bot]
6bb71367b3
chore(deps-dev): bump simple_sat from 0.1.1 to 0.1.3 (#128)
Bumps [simple_sat](https://github.com/ash-project/simple_sat) from 0.1.1 to 0.1.3.
- [Changelog](https://github.com/ash-project/simple_sat/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/simple_sat/compare/v0.1.1...v0.1.3)

---
updated-dependencies:
- dependency-name: simple_sat
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 11:24:22 +12:00
Zach Daniel
43ae1f07fc chore: update deps 2024-04-01 16:14:22 -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
Riccardo Binetti
98baf6f0be
feat: allow providing descriptions for enum values (#117)
* chore: update ash to use Ash.Type.Enum descriptions

Contextually, remove an unreachable clause that caused dyalizer to fail,
see https://github.com/ash-project/ash/pull/873 for the commit that made
it unreachable

* feat: allow providing descriptions for enum values

If the module exports `graphql_describe_enum_value/1`, use that. Otherwise,
fallback to the Ash.Type.Enum value descriptions introduced in
https://github.com/ash-project/ash/pull/940.

Close #116
2024-03-25 23:43:59 -04:00
Zach Daniel
971d3ff585 chore: update credo 2024-02-11 14:41:36 -05:00
Zach Daniel
099540c79e fix: handle nested constraint derivation in union/map types 2024-02-04 10:36:23 -05:00
Zach Daniel
067057b4db chore: update ex_doc 2024-01-12 14:34:15 -05:00
Zach Daniel
2cf5b60f63 improvement: support latest ash aggregate constraints 2023-11-13 16:53:21 -05:00
Zach Daniel
1401de6727 fix: pass context into loading and generate related query with it 2023-10-27 00:29:03 -04:00
Zach Daniel
b58503322b docs: update spark/ash for docs improvements 2023-09-26 23:21:57 -04:00
Zach Daniel
49c6534d73 improvement: generic action support
docs: better docs
2023-09-15 13:45:12 -04:00
Zach Daniel
0311724375 chore: update ssl_verify_fun 2023-07-31 15:16:21 -04:00
Zach Daniel
178ea6c7e3 chore: lock/guide/tool versions 2023-07-31 15:13:23 -04:00
Zach Daniel
fe85aab53a fix: properly display forbidden field errors
fixes #84
2023-07-13 09:23:17 -04:00