Commit graph

767 commits

Author SHA1 Message Date
Zach Daniel
3d1babb9f1 improvement: add schema codegen features & guide 2024-08-16 14:36:49 -04:00
dependabot[bot]
1b9722a1fb
chore(deps): bump the production-dependencies group with 3 updates (#208) 2024-08-14 22:20:28 -04:00
Zach Daniel
f349a5aeaa improvement: support new struct types in type generation 2024-08-09 17:42:24 -04:00
Zach Daniel
190a7a1f75 improvement: support new struct fields constraint 2024-08-09 17:30:06 -04:00
dependabot[bot]
b79cd6c562
chore(deps): bump ash in the production-dependencies group (#206)
Bumps the production-dependencies group with 1 update: [ash](https://github.com/ash-project/ash).


Updates `ash` from 3.3.1 to 3.3.3
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.3.1...v3.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 21:23:30 -04:00
Zach Daniel
dd5060f59a fix: match on action in error message properly 2024-08-06 20:47:14 -04:00
Rebecca Le
c3544dfe29
improvement: Set up GraphQL schema file in the web module namespace (#205)
This keeps consistency with AshJsonApi, which generates its router in the web module namespace as well
2024-08-03 09:49:55 -04:00
Zach Daniel
4773f76636 chore: release version v1.3.1 2024-08-02 12:27:39 -04:00
Zach Daniel
7845fe89d4 fix: use .has_expression?/0 instead of function_exported?/3 2024-08-02 12:16:21 -04:00
Kamil Kołodziej
b9e7848633
fix: error handling list of atoms (#204)
* fix: error handling list of atoms

* Update lib/default_error_handler.ex

---------

Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2024-08-02 09:07:31 -04:00
Zach Daniel
5f269fc19c chore: release version v1.3.0 2024-08-01 16:09:40 -04:00
Zach Daniel
232563b661 fix: try to resolve compilation issues w/ Code.ensure_compiled! 2024-08-01 15:58:35 -04:00
dependabot[bot]
a3bf111bee
chore(deps): bump the production-dependencies group with 3 updates (#203) 2024-07-31 21:59:49 -04:00
Jonatan Männchen
c67b9f5ab6
feat: Ash.Type.File compatibility (#202)
resolves #201
most of the code is adapted from 104b8c199c
2024-07-30 11:14:37 -04:00
dependabot[bot]
67a59c2d14
chore(deps): bump the production-dependencies group with 2 updates (#200)
Bumps the production-dependencies group with 2 updates: [ash](https://github.com/ash-project/ash) and [igniter](https://github.com/ash-project/igniter).


Updates `ash` from 3.2.3 to 3.2.6
- [Changelog](https://github.com/ash-project/ash/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/ash/compare/v3.2.3...v3.2.6)

Updates `igniter` from 0.3.3 to 0.3.9
- [Changelog](https://github.com/ash-project/igniter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ash-project/igniter/compare/v0.3.3...v0.3.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 07:21:57 -04:00
Barnabas Jovanovics
cedbfc341f
docs: Mention AshGraphl.Error Protocol in docs (#199) 2024-07-23 10:32:36 -04:00
Rebecca Le
3e5cf20023
bugfix: Fix check for checking if a field is filterable or not (#198) 2024-07-21 11:54:52 -04:00
Zach Daniel
36eac7bc54 chore: handle pkey-less resources at compile time 2024-07-19 17:41:42 -04:00
Zach Daniel
5823a3043f chore: remove empty file 2024-07-19 15:40:45 -04:00
Zach Daniel
1eca6bfe29 chore: release version v1.2.1 2024-07-18 17:40:08 -04:00
Zach Daniel
1b8136212d chore: reintroduce work lost in a bad rebase 2024-07-18 13:32:25 -04:00
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
Rebecca Le
4f0d508a3e
chore: Wording tweaks to installer content (#193) 2024-07-16 06:03:36 -04:00
Zach Daniel
88735868cc chore: put playground above base 2024-07-15 20:46:03 -04:00
Zach Daniel
1f45a1481e docs: fix getting started guide steps ordering 2024-07-15 15:54:47 -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
Barnabas Jovanovics
d47ab78747
fix: use checked constraints (#187) 2024-07-01 09:25:38 -04:00
Zach Daniel
2a2af45230 improvement: add nullable_fields? for easily marking fields as nullable
test: update tests to use this to illustrate field policy behavior
2024-07-01 09:25:14 -04:00
skanderm
1b53ee0997
test: Add (failing) test for partial results of forbidden field query (#186) 2024-07-01 09:24:23 -04:00
Zach Daniel
53b3fbd699 chore: small reorg of functions 2024-07-01 08:39:56 -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
Zach Daniel
de3ef1cb91 ci: dependabot weekly 2024-06-23 21:12:51 -04:00
Zach Daniel
8d612a08bc chore: ensure managed relationship types are distinct on identifier 2024-06-22 12:29:36 -04:00
Zach Daniel
b1ab52959d fix: don't assume filter is non-nil for gets 2024-06-21 15:11:22 -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
Zach Daniel
0292ef1db8 improvement: only define managed_relationship mutations when necessary 2024-06-18 08:59:10 -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
Zach Daniel
eac844186a fix: properly interpolate action in conflict messages 2024-06-17 20:00:54 -04:00
Zach Daniel
e51bad36d5 chore: format 2024-06-17 09:21:13 -04:00
Zach Daniel
36cfde3378 chore: release version v1.2.0 2024-06-17 09:17:41 -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
Barnabas Jovanovics
77f09b2422
fix: add resource query to action struct (#178) 2024-06-11 11:55:00 -04:00
Davide Briani
18d4e1b010
test: add tests on paginated relationships (#177)
Add tests to verify that relationships can be queried on the results of
GraphQL queries and mutations.

Querying paginated relationships on the result of deletions doesn't
correctly work yet.
Indeed, Ash currently queries relationships using a lateral join but
after the resource deletion has happened, so it looks like nothing is
related.

Signed-off-by: Davide Briani <davide@briani.dev>
2024-06-11 09:49:05 -04:00