Barnabas Jovanovics
a54db97ee9
handle destroys
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
8f0167d394
clean up part 1
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
46ac0136f3
use trace and handle arguments
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
45ca5cc9c0
wip: add subscription result type
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
0064d8d2b1
handle filter
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
bd323e69ed
do some renaming
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
e60356ffb7
only listen to the configured actions
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
15d7f34d12
use the configured read action to get the data in the resolver
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
f20d56fe0b
handle not found case
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
49cd049d65
add endpoint with custom run_docset function
2024-08-26 11:40:52 +02:00
Barnabas Jovanovics
d12e4728f5
rebase on main
2024-08-26 11:40:52 +02:00
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
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
Zach Daniel
7845fe89d4
fix: use .has_expression?/0
instead of function_exported?/3
2024-08-02 12:16:21 -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
a659ff4693
improvement: add extension installation code
2024-07-18 13:30:29 -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
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
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
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
Zach Daniel
896d76420b
fix: accepted attributes don't have to be public?
2024-05-11 18:25:23 -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
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
84b86e65be
improvement: add graphql_define_type?/1
callback for graphql types
2024-04-24 09:21:26 -04:00