Barnabas Jovanovics
f483d69552
wip
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
c4f08da18a
move resolve logic in existing resolver module
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
f50f83f360
create config that can use the filter to create a context_id for de-duplication
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
4fc7b0be24
subscribed and recieved data in playground
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
bc8449025e
wip
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
eb96ef8c10
returned my first result from a subscription
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
64737aa505
add subscription field to schema
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
52dfa22afd
wip
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
5e4bbd8f8e
a step in the right direction?
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
8f51511c24
wip
2024-08-26 11:40:52 +02:00
Zach Daniel
29cf2d69fc
chore: skip sobelow errors
2024-08-16 14:41:03 -04:00
Zach Daniel
097ea273a9
chore: don't do codegen by default
2024-08-16 14:39:41 -04:00
Zach Daniel
3d1babb9f1
improvement: add schema codegen features & guide
2024-08-16 14:36:49 -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
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
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
232563b661
fix: try to resolve compilation issues w/ Code.ensure_compiled!
2024-08-01 15:58:35 -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
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
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
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
01ca76da70
improvement: add igniter-backed installer
2024-07-15 14:25:40 -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
Zach Daniel
53b3fbd699
chore: small reorg of functions
2024-07-01 08:39:56 -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
Zach Daniel
0292ef1db8
improvement: only define managed_relationship
mutations when necessary
2024-06-18 08:59:10 -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
Barnabas Jovanovics
77f09b2422
fix: add resource query to action struct ( #178 )
2024-06-11 11:55:00 -04:00
Barnabas Jovanovics
8089164d74
feat: argument_input_types ( #176 )
...
* feat: argument_input_types
* use mix task to update formatter.exs
* update CheatSheet
2024-06-10 13:32:37 -04:00
Zach Daniel
b399d06a86
chore: use parens to remove warning in 1.17
...
closes #175
2024-06-10 09:10:34 -04:00
Zach Daniel
2aab03b0cc
fix: better type handling around empty types
2024-06-04 09:24:31 -04:00
Zach Daniel
60f3fd8f99
fix: don't generate empty input objects for embeds
2024-06-04 00:49:17 -04:00
Zach Daniel
d49fc5a488
fix: honor read_action for update/destroy mutations
...
closes #169
2024-06-02 11:28:06 -04:00
Riccardo Binetti
62940c31ec
feat: relationship pagination ( #166 )
2024-05-26 09:50:54 -04:00
Zach Daniel
a6ca7fea67
feat: support queries/mutations on the domain
2024-05-24 15:51:19 -04:00
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
Barnabas Jovanovics
90df75015e
handle empty primary key ( #160 )
2024-05-21 08:14:23 -04:00
Barnabas Jovanovics
bf6ef37b8f
fix: use Ash.EmbeddableType.ShadowDomain ( #156 )
2024-05-14 06:16:56 -04:00