Commit graph

699 commits

Author SHA1 Message Date
Riccardo Binetti
31d29e178f
improvement: deduplicate map types across domains (#164)
Allow having common NewType maps that are used in multiple domains and are
correctly deduplicated
2024-05-23 12:11:28 -04:00
Col
7ec1cfe84e
improvement: Implement AshGraphql.Error for Ash.Error.Query.ReadActionRequiresActor (#154) 2024-05-23 08:58:58 -04:00
Riccardo Binetti
2bc7b78aa6
fix: don't deduplicate argument types by argument name (#162)
As mentioned in the upgrade guide, the point of dropping auto generation of
types was avoiding conflicts when two arguments had the same name but different
types. Now that we require explicit generation, we can actually support that
usecase for, e.g., arguments with the same name but different types in
create/update mutations.
2024-05-23 08:58:25 -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
Barnabas Jovanovics
90df75015e
handle empty primary key (#160) 2024-05-21 08:14:23 -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
Barnabas Jovanovics
1eb14c8079
fix typo (#158) 2024-05-15 09:49:56 -04: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
Barnabas Jovanovics
bf6ef37b8f
fix: use Ash.EmbeddableType.ShadowDomain (#156) 2024-05-14 06:16:56 -04:00
Zach Daniel
bced6021af chore: remove incorrect guide 2024-05-13 13:24:38 -04:00
Zach Daniel
8f04ef2e1e chore: set log level in dev 2024-05-13 12:43:13 -04:00
Barnabas Jovanovics
73e6974ea7
add test that shows problem with new auth field clean up (#153) 2024-05-13 08:18:15 -04:00
Zach Daniel
beaec883c1 chore: fix ISSUE template for bug report 2024-05-11 18:29:05 -04:00
Zach Daniel
896d76420b fix: accepted attributes don't have to be public? 2024-05-11 18:25:23 -04:00
Zach Daniel
761a60f3b4 chore: add an experimental auto_import_types? option to use AshGraphql
this is to solve a very specific technical issue around conflicts with
using `import_types` on your schema, and having conflicts with a named type
you already have defined, and the types we import
2024-05-11 18:24:58 -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
Zach Daniel
8fbb2f4ee3 docs: revamp changelog 2024-05-08 18:56:25 -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
Alan Heywood
7386a5b627
improvement: make mutation result errors list non-nullable (#144)
* chore: regenerate cheat sheets

* improvement: make mutation result errors list non-nullable
2024-05-03 21:57:02 -04:00
Zach Daniel
446bc12f70 chore: small tweaks of README.md 2024-05-03 14:49:15 -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
Josh Price
c015030dc5
docs: minor doc updates (#142) 2024-05-01 16:45:20 -04:00
Josh Price
d223372496
Update getting-started-with-graphql.md (#141)
Consistency pass
2024-05-01 16:13:32 -04:00
Zach Daniel
0e79680681 docs: documentation overhaul 2024-05-01 15:59:38 -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
Riccardo Binetti
833c1d5143
feat: allow passing custom descriptions to queries and mutations (#138)
Close #137
2024-04-29 15:01:26 -04:00
Zach Daniel
f81cbeb22f chore: release version v1.0.0-rc.5 2024-04-27 09:28:46 -04:00
Zach Daniel
019632c420 fix: properly set actor on bulk action calls 2024-04-27 09:27:00 -04:00
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
fb74c2a4f3 improvement: use bulk actions for create/destroy 2024-04-25 23:28:37 -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
4c0ed1160c chore: fix credo warning 2024-04-24 09:00:56 -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
Zach Daniel
ee43ec4a26 fix: tag union values with their type before casting 2024-04-23 19:54:00 -04:00
5b00697fef
chore: Add failing test case for string union values parsed as numbers. (#134) 2024-04-23 19:29:00 -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
Zach Daniel
bd9562a9fa fix: ensure type is set when using find_manage_relationship
closes #132
2024-04-20 16:24:05 +01:00
Zach Daniel
1c4cf1969c fix: properly honor new pagination config everywhere
fixes #130
2024-04-20 16:18:52 +01:00
Zach Daniel
0594c63c2b docs: shuffle around module concat recommendation 2024-04-12 15:17:38 -04:00
Zach Daniel
e9b4d77e91 chore: fix docs link 2024-04-12 15:15:44 -04:00
Zach Daniel
05e5ca3e1a chore: add Module.concat to the docs 2024-04-12 15:12:48 -04:00
Zach Daniel
ddae98cf40 chore: don't set domain for embedded resources 2024-04-11 23:49:22 -04:00
Zach Daniel
35f35e4468 chore: release version v1.0.0-rc.3 2024-04-11 13:13:28 -04:00